- 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>
brief-05-back
Languages
TypeScript
100%