err != error

This commit is contained in:
Henry Oswald 2014-11-27 16:19:01 +00:00
parent d498076ab3
commit c119d2ba79

View file

@ -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}"