Merge pull request #2050 from overleaf/bg-fix-session-logging-error

fix error in session logging

GitOrigin-RevId: e31ac3585f4c502a04602e9a49445319502c5d52
This commit is contained in:
Brian Gough 2019-08-07 09:45:39 +01:00 committed by sharelatex
parent 523b5b2114
commit 5c32523b53

View file

@ -151,8 +151,10 @@ webRouter.use(function(req, res, next) {
UserSessionsManager.touch(
AuthenticationController.getSessionUser(req),
err => {
if (err) {
logger.err({ err }, 'error extending user session')
}
}
)
}
next()