feat: add error loging to the auth api route
This commit is contained in:
parent
020bbd7a43
commit
9e38c87a5a
|
@ -58,6 +58,8 @@ export default async function handler(
|
|||
return;
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
|
||||
res.status(500).json(
|
||||
{ error: 'Internal Server Error' }
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue