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