diff --git a/apps/frontend/src/lib/auth/init.ts b/apps/frontend/src/lib/auth/init.ts index a649593..1083bff 100644 --- a/apps/frontend/src/lib/auth/init.ts +++ b/apps/frontend/src/lib/auth/init.ts @@ -25,7 +25,10 @@ window.addEventListener('load', async () => { appState?.returnTo || window.location.pathname, ); }) - .catch(() => null); + .catch((err) => { + console.error(err); + return null; + }); } const user = await auth.getUser();