1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-04-08 21:30:46 +00:00

Merge pull request from overleaf/spd-error-handler-error

Fix log info assignment in error handler
This commit is contained in:
Simon Detheridge 2020-02-14 09:18:16 +00:00 committed by GitHub
commit 44fbc6a733

View file

@ -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)