mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-06 18:29:07 +00:00
Remove user
field from log, var not in scope
This commit is contained in:
parent
2dda430691
commit
0d5d59bb66
1 changed files with 1 additions and 1 deletions
|
@ -38,5 +38,5 @@ module.exports = ErrorController =
|
|||
logger.warn {err: error, url: req.url}, "not found error"
|
||||
res.sendStatus(404)
|
||||
else
|
||||
logger.error err: error, url:req.url, method:req.method, user:user, "error passed to top level next middlewear"
|
||||
logger.error err: error, url:req.url, method:req.method, "error passed to top level next middlewear"
|
||||
res.sendStatus(500)
|
||||
|
|
Loading…
Add table
Reference in a new issue