mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 14:50:56 +00:00
Fix log info assignment in error handler
This commit is contained in:
parent
ca94225c19
commit
e3613e52db
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class RequestLogger {
|
|||
}
|
||||
|
||||
static errorHandler(err, req, res, next) {
|
||||
this._logInfo.error = err
|
||||
req.requestLogger._logInfo.error = err
|
||||
res
|
||||
.send(err.message)
|
||||
.status(500)
|
||||
|
|
Loading…
Reference in a new issue