add better logging on session invalidation

This commit is contained in:
Martin McKeaveney 2022-05-25 13:02:15 +01:00
parent 669ca76a39
commit 4bbfae3880
1 changed files with 1 additions and 0 deletions

View File

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