瀏覽代碼

improve logging

Henry Oswald 10 年之前
父節點
當前提交
3cae036c3c
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      services/notifications/app/coffee/HealthCheckController.coffee

+ 1 - 1
services/notifications/app/coffee/HealthCheckController.coffee

@@ -34,7 +34,7 @@ module.exports =
 					if hasNotification
 						cb(null, body)
 					else
-						logger.log body:body, "Health Check: got notifications response for health check"
+						logger.err body:body, notification_key:notification_key, "Health Check: notification not in response"
 						return cb("notification not found in response")
 		]
 		async.series jobs, (err, body)->