feat: add error loging to the auth api route
All checks were successful
Deploy Website / deploy (push) Successful in 46s
Lint Codebase / lint (push) Successful in 1m1s

This commit is contained in:
TheClashFruit 2024-08-30 14:50:04 +02:00
parent 020bbd7a43
commit 9e38c87a5a
Signed by: TheClashFruit
GPG key ID: 09BB24C34C2F3204

View file

@ -58,6 +58,8 @@ export default async function handler(
return;
}
} catch (error) {
console.error(error);
res.status(500).json(
{ error: 'Internal Server Error' }
);