From 4bbfae3880f5163f39170419d7eccbd75a76347b Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Wed, 25 May 2022 13:02:15 +0100 Subject: [PATCH] add better logging on session invalidation --- packages/backend-core/src/security/sessions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend-core/src/security/sessions.js b/packages/backend-core/src/security/sessions.js index 40a96d06e7..4e6899c248 100644 --- a/packages/backend-core/src/security/sessions.js +++ b/packages/backend-core/src/security/sessions.js @@ -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 } }