From c9e054b5d9f8b6c5df4591b69464d9d342b6f60c Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Mon, 10 Mar 2025 12:11:15 +0000 Subject: [PATCH] Add errors --- apps/web/src/next-auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } });