Add logs
All checks were successful
Test - Build & Deploy to Scaleway / build-and-push-images-lecoffre (push) Successful in 1m47s
Test - Build & Deploy to Scaleway / deploy-back-lecoffre (push) Successful in 4s
Test - Build & Deploy to Scaleway / deploy-cron-lecoffre (push) Successful in 4s

This commit is contained in:
omaroughriss 2025-07-31 13:22:30 +02:00
parent e2ad82424a
commit 0685e4bb48

View File

@ -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;
}
}