1
0
Fork 0
mirror of synced 2024-06-14 00:14:39 +12:00

add better logging on session invalidation

This commit is contained in:
Martin McKeaveney 2022-05-25 13:02:15 +01:00
parent 8e03264509
commit 543cd8deb1

View file

@ -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
}
}