log out health check failures

This commit is contained in:
Henry Oswald 2016-10-21 18:59:28 +01:00
parent 1beca53b3d
commit 450946212a

View file

@ -63,6 +63,7 @@ Reporter = (res) ->
res.contentType("application/json")
if failures.length > 0
logger.err failures:failures, "health check failed"
res.send 500, JSON.stringify(results, null, 2)
else
res.send 200, JSON.stringify(results, null, 2)