Skip to content

Pick up exception handler in case there is no controller advice at alll, fixes 1498 #1500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

eshishkin
Copy link
Contributor

This PR fixes #1498 issue.
Exception handlers can be resolved even if no @ControllerAdvice is registered

@bnasslahsen
Copy link
Collaborator

Thank you @eshishkin for your contribution !

bnasslahsen added a commit that referenced this pull request Feb 27, 2022
 Pick up exception handler in case there is no controller advice at alll, fixes 1498
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for @ExceptionHandler inside @RestController only works if a @RestControllerAdvice class is present
2 participants