From 23a8d559e98ba3ce02bbcab866db37577ac51f53 Mon Sep 17 00:00:00 2001 From: "Timo K." Date: Mon, 23 Nov 2026 14:08:00 +0100 Subject: [PATCH] Add warn log to logout no case. --- src/state/StandaloneClientSession.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/state/StandaloneClientSession.ts b/src/state/StandaloneClientSession.ts index f860f6f45..1ec845d84 100644 --- a/src/state/StandaloneClientSession.ts +++ b/src/state/StandaloneClientSession.ts @@ -110,7 +110,10 @@ export function createStandaloneClientSession$( }, logout: async (): Promise => { const current = client(); - if (!current) return; + if (!current) { + logger.warn("[StandaloneClientSession] Calling logout but with no curent client.") + return + }; await current.logout(true); await current.clearStores();