mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 01:12:27 +00:00
Fix logging.
This commit is contained in:
parent
d8ffa5b4b1
commit
5ae0aeaf94
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ module.exports = UserSessionsManager =
|
|||
.expire(sessionSetKey, "#{Settings.cookieSessionLength}")
|
||||
.exec (err, response) ->
|
||||
if err
|
||||
logger.err {err, user_id: user._id, sessionId}, "error while adding session key to UserSessions set"
|
||||
logger.err {err, user_id: user._id, sessionSetKey}, "error while adding session key to UserSessions set"
|
||||
return callback(err)
|
||||
callback()
|
||||
|
||||
|
@ -37,7 +37,7 @@ module.exports = UserSessionsManager =
|
|||
.expire(sessionSetKey, "#{Settings.cookieSessionLength}")
|
||||
.exec (err, response) ->
|
||||
if err
|
||||
logger.err {err, user_id: user._id, sessionId}, "error while removing session key from UserSessions set"
|
||||
logger.err {err, user_id: user._id, sessionSetKey}, "error while removing session key from UserSessions set"
|
||||
return callback(err)
|
||||
callback()
|
||||
|
||||
|
|
Loading…
Reference in a new issue