-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Translate MongoSocketException subclasses to DataAccessResourceFailureException #3569
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
Conversation
(sorry I'm new on this project) I'm unable to see UT+IT results from github PR checks list. Are they executed somewhere? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your pull request. We don't have a build for pull requests. You can run the build locally if you spin up a MongoDB 4.x server locally.
...ta-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoExceptionTranslator.java
Outdated
Show resolved
Hide resolved
...ta-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoExceptionTranslator.java
Outdated
Show resolved
Hide resolved
Thank you for your contribution. That's merged, polished, and backported now. |
Closes #3568
Improve
MongoExceptionTranslator
to accept direct children is some case. First use case :MongoSocketException, MongoSocketException$children
.NB/ historical contributors of this class: @christophstrobl, @michalvich, @odrotbohm (Oliver Gierke)