From 450946212abe7f62ce88cd0860fb6fa66459e018 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 21 Oct 2016 18:59:28 +0100 Subject: [PATCH] log out health check failures --- .../app/coffee/Features/HealthCheck/HealthCheckController.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/web/app/coffee/Features/HealthCheck/HealthCheckController.coffee b/services/web/app/coffee/Features/HealthCheck/HealthCheckController.coffee index 5ed5b85e08..9aec67e14e 100644 --- a/services/web/app/coffee/Features/HealthCheck/HealthCheckController.coffee +++ b/services/web/app/coffee/Features/HealthCheck/HealthCheckController.coffee @@ -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)