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

[ENHANCEMENT] #187

Open
raybog opened this issue Nov 13, 2021 · 0 comments
Open

[ENHANCEMENT] #187

raybog opened this issue Nov 13, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@raybog
Copy link

raybog commented Nov 13, 2021

Is your feature request related to a problem? Please describe.
When an error is returned by ES there is no straightforward way to get the content of the body.
In many cases only the message in the body explains the reasons of the problem/error.

Describe the solution you'd like
Ideally elasticsearch::Error struct should have some way to access the response body if there is one.

@raybog raybog added the enhancement New feature or request label Nov 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant