mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
err != error
This commit is contained in:
parent
d498076ab3
commit
c119d2ba79
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ app.get "/health_check", (req, res)->
|
|||
|
||||
app.use (error, req, res, next) ->
|
||||
logger.error err: error, "server error"
|
||||
res.send err?.statusCode || 500
|
||||
res.send error?.statusCode || 500
|
||||
|
||||
app.listen port = (Settings.internal?.clsi?.port or 3013), host = (Settings.internal?.clsi?.host or "localhost"), (error) ->
|
||||
logger.log "CLSI listening on #{host}:#{port}"
|
||||
|
|
Loading…
Reference in a new issue