Add logs
All checks were successful
All checks were successful
This commit is contained in:
parent
e2ad82424a
commit
0685e4bb48
@ -24,7 +24,7 @@ export default function authHandler(req: Request, response: Response, next: Next
|
||||
});
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
response.status(HttpCodes.INTERNAL_ERROR).send("Internal server error");
|
||||
response.status(HttpCodes.INTERNAL_ERROR).send("Internal server error:" + JSON.stringify(error) + " req:" + JSON.stringify(req));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user