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