Skip to content

Adjust exception wrapping logic when converting to ES exceptions #132419

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benwtrent
Copy link
Member

This is a broad brush to address #131548

It seemed weird to only address strange wrapping in only one place (the bitset logic). However, I admit, this is a pretty huge change.

There are many unknowns, so maybe this just isn't worth it. But it does seem weird that a Java Exception will have an ElasticsearchException as a cause and we would WANT to rather return the java exception rather than the inner ElasticsearchException...

//cc @javanna what do you think? Maybe we add a new "convertOrUnwrapToElastic" method and switch over good paths to that?

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.

2 participants