Browse Source

log out health check failures

Henry Oswald 10 years ago
parent
commit
450946212a

+ 1 - 0
services/web/app/coffee/Features/HealthCheck/HealthCheckController.coffee

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