소스 검색

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)->