mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 15:41:00 +00:00
Merge pull request #41 from overleaf/spd-log-url-on-error
Log request URL on error
This commit is contained in:
commit
54d6258151
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