add better logging on session invalidation
This commit is contained in:
parent
8e03264509
commit
543cd8deb1
|
@ -80,6 +80,7 @@ exports.getSession = async (userId, sessionId) => {
|
|||
return client.get(makeSessionID(userId, sessionId))
|
||||
} catch (err) {
|
||||
// if can't get session don't error, just don't return anything
|
||||
console.error(err)
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue