improve logging

This commit is contained in:
Henry Oswald 2016-06-01 14:21:49 +01:00
parent 9f566f7730
commit 3cae036c3c

View file

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