Add warn log to logout no case.

This commit is contained in:
Timo K. committed 2026-11-23 14:08:00 +01:00
1 parent c096332c8f
commit 23a8d559e9
1 file changed
+4 -1
+4 -1
View File
@@ -110,7 +110,10 @@ export function createStandaloneClientSession$(
},
logout: async (): Promise<void> => {
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();