diff --git a/services/web/app/src/infrastructure/Server.js b/services/web/app/src/infrastructure/Server.js index 9b1e622079..9d85e5092d 100644 --- a/services/web/app/src/infrastructure/Server.js +++ b/services/web/app/src/infrastructure/Server.js @@ -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') + } } ) }