From 5999ed699c7165852e49fbae01f4a3e5962cc4c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delaporte?= Date: Thu, 18 Jun 2026 13:34:27 +0200 Subject: [PATCH] fix: log fetch failure --- src/runtime/app/composables/session.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/runtime/app/composables/session.ts b/src/runtime/app/composables/session.ts index f78f10b4..b4432759 100644 --- a/src/runtime/app/composables/session.ts +++ b/src/runtime/app/composables/session.ts @@ -32,7 +32,10 @@ export function useUserSession(): UserSessionComposable { accept: 'application/json', }, retry: false, - }).catch(() => null) + }).catch(reason => { + console.log('Failure on fetching session', reason) + return null + }) if (!authReadyState.value) { authReadyState.value = true }