diff --git a/apps/web/src/next-auth.ts b/apps/web/src/next-auth.ts index 9940cf213..f280af4c5 100644 --- a/apps/web/src/next-auth.ts +++ b/apps/web/src/next-auth.ts @@ -201,13 +201,13 @@ const auth = cache(async () => { return session; } } catch (e) { - console.error("FAILED TO GET SESSION"); + console.error("FAILED TO GET SESSION", e); } try { return await getLegacySession(); } catch (e) { - console.error("FAILED TO GET LEGACY SESSION"); + console.error("FAILED TO GET LEGACY SESSION", e); } });