Skip to content
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

No need to swallow exception at that point. #5405

Merged

Conversation

arjantijms
Copy link
Contributor

There's an outer catch that will log it.

There's an outer catch that will log it.

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
@arjantijms arjantijms added this to the 4.1.0 milestone Feb 20, 2024
@arjantijms arjantijms self-assigned this Feb 20, 2024
Copy link
Contributor

@pnicolucci pnicolucci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The outer catch is:

} catch (Throwable t) { // CNFE or ValidationException or any other LOGGER.fine("Unable to load Beans Validation"); }

While we're here in the code should we update that message to better reflect the current name of "Jakarta Validation"? Something like: "Unable to load Jakarta Validation"?

Signed-off-by: Arjan Tijms <arjan.tijms@omnifish.ee>
@arjantijms arjantijms merged commit f9a9dcc into eclipse-ee4j:4.1 Feb 21, 2024
2 checks passed
@arjantijms arjantijms deleted the swallow_beanvalidation_exception branch February 21, 2024 00:16
@mnriem
Copy link
Contributor

mnriem commented Feb 22, 2024

LGTM

@arjantijms arjantijms added the 4.1 label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants