diff --git a/pages/api/v1/auth.ts b/pages/api/v1/auth.ts index 8139a22..4254569 100644 --- a/pages/api/v1/auth.ts +++ b/pages/api/v1/auth.ts @@ -58,6 +58,8 @@ export default async function handler( return; } } catch (error) { + console.error(error); + res.status(500).json( { error: 'Internal Server Error' } );