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