You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Throwing ResponseStatusException causes the controller to return not authorized (401) requests as the /error falls back in the chain as the session policy defined is STATELESS
To Reproduce
Steps to reproduce the behavior:
Call any route that should return an error different from 401
Expected behavior
For a not found element - 404 and so on and so forth
The text was updated successfully, but these errors were encountered:
Describe the bug
Throwing ResponseStatusException causes the controller to return not authorized (401) requests as the /error falls back in the chain as the session policy defined is STATELESS
To Reproduce
Steps to reproduce the behavior:
Expected behavior
For a not found element - 404 and so on and so forth
The text was updated successfully, but these errors were encountered: