mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Log request on error
This commit is contained in:
parent
a9d8e938ca
commit
e1868e2b54
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ app.get '/status', (req, res)->
|
|||
res.send('docstore is alive')
|
||||
|
||||
app.use (error, req, res, next) ->
|
||||
logger.error err: error, "request errored"
|
||||
logger.error err: error, req:req, "request errored"
|
||||
if error instanceof Errors.NotFoundError
|
||||
res.send 404
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue