mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
log out health check failures
This commit is contained in:
parent
1beca53b3d
commit
450946212a
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue