Mathis abaeafea8a
feat(services-controllers): implement debug mode and refactor error handling
- Implement debug mode for logging in services and controllers.
- Improve the precision of memory usage information in the app by rounding.
- Refactor error handling in services, notably in user service register function for better error checking.
- Include a condition in the AdminGuard validator to check if the token is valid.
- Fix issue in auth controller that was misidentifying user registration error as a successful registration.
- Refactor log display in Mysql service error throwing for better readability.
- Refactor memory usage information display in app for better readability.

These changes aim to improve the clarity of logs and accuracy of error reporting for a better debugging experience. The implementation of debug mode gives more control over the information displayed in the development phase. Several fixes in error handling also contribute to a more robust system.

Signed-off-by: Mathis <yidhra@tuta.io>
2024-05-02 14:18:28 +02:00
2024-04-24 16:55:37 +02:00
2024-04-24 16:55:37 +02:00
2024-04-29 14:58:44 +02:00
2024-04-22 16:05:04 +02:00
2024-04-30 10:55:37 +02:00
2024-04-22 16:05:04 +02:00

brief-05-back

Description
Faux site de location de véhicule.
Readme 648 KiB
Languages
TypeScript 100%