Clean Controllers by Removing Try-Catch Blocks and Exceptions Handling #51
Labels
⬅️BACKEND
💹enhancement
Improvements or adjustments features.
🛠️refactor
Code improvements without changing functionality.
Description:
Refactor the
AuthController
andUserController
to remove all try-catch blocks and exception handling.Ensure that exceptions are now handled by the GlobalExceptionHandler instead of being caught directly in the controllers.
Expected Outcome:
The controllers should no longer have try-catch blocks or custom exception handling logic.
Exceptions should be handled globally by the GlobalExceptionHandler throug the AuthService and UserService.
The text was updated successfully, but these errors were encountered: