diff --git a/app/api/auth/options.ts b/app/api/auth/options.ts index 1c27a93c..874cca26 100644 --- a/app/api/auth/options.ts +++ b/app/api/auth/options.ts @@ -505,10 +505,8 @@ export const authOptions: NextAuthOptions = { async signOut() { console.log('=== NEXTAUTH SIGNOUT EVENT ==='); }, - async error({ error }) { - console.error('=== NEXTAUTH ERROR EVENT ==='); - console.error('Error:', error); - }, + // Note: 'error' event doesn't exist in NextAuth EventCallbacks + // Errors are handled in callbacks and pages.error }, };