diff --git a/packages/features/auth/lib/getServerSession.ts b/packages/features/auth/lib/getServerSession.ts index df35cb5890..b5b9473fc2 100644 --- a/packages/features/auth/lib/getServerSession.ts +++ b/packages/features/auth/lib/getServerSession.ts @@ -60,7 +60,8 @@ export async function getServerSession(options: { where: { email }, data: { lastActiveAt: new Date() }, }) - .catch(() => { + .catch((error) => { + console.error(error); log.debug("No user found for email: ", email); return null; });