Skip to content

ElasticSearchClientException returns insufficient information #1845

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

Closed
jonyadamit opened this issue Feb 17, 2016 · 3 comments
Closed

ElasticSearchClientException returns insufficient information #1845

jonyadamit opened this issue Feb 17, 2016 · 3 comments

Comments

@jonyadamit
Copy link
Contributor

The real information that could help solve issues is not given in some circumstances.
For instance, look at the following response from ES:

elastic1

The most important piece of information resides under the caused_by element.

ElasticSearchClientException on the other hand returns the following information:

elastic2

So solving issues becomes very hard this way.
Note that this information doesn't exist anywhere in the exception: not under DebugInformation and not anywhere else.

@jonyadamit
Copy link
Contributor Author

@russcam @gmarz @Mpdreamz Any thoughts on this? Not sure about the correct way to include this information.

@russcam
Copy link
Contributor

russcam commented Feb 23, 2016

@jonyadamit We'll look to include this when parsing a ServerError from the response; We've all been at Elasticon this week but will look at this shortly. Thanks again for reporting 👍

@jonyadamit
Copy link
Contributor Author

👍 great 😄

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

No branches or pull requests

3 participants