mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 14:13:43 +00:00
Merge pull request #2050 from overleaf/bg-fix-session-logging-error
fix error in session logging GitOrigin-RevId: e31ac3585f4c502a04602e9a49445319502c5d52
This commit is contained in:
parent
523b5b2114
commit
5c32523b53
1 changed files with 3 additions and 1 deletions
|
@ -151,7 +151,9 @@ webRouter.use(function(req, res, next) {
|
|||
UserSessionsManager.touch(
|
||||
AuthenticationController.getSessionUser(req),
|
||||
err => {
|
||||
logger.err({ err }, 'error extending user session')
|
||||
if (err) {
|
||||
logger.err({ err }, 'error extending user session')
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue