-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve error messaging in auth exceptions
Enhanced the error messaging for Auth exceptions with more descriptive information. Now, when an Unauthorized Access exception occurs, it will return the HTTP status code's official reason phrase, rather than just the code, to provide more context to the client. This change is in the Authentication middleware and
- Loading branch information
1 parent
712badd
commit 89d6915
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters