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

Include parsed error info in TransportError in async connections #226

Merged
merged 1 commit into from
May 9, 2023

Commits on May 8, 2023

  1. Include parsed error info in TransportError in async connections

    Passing the Content-Type to `_raise_errors` will cause the json body to
    be parsed and included in the `TransportError`.
    
    This matches the behaviour of the sync client.
    
    Fixes opensearch-project#225
    
    Signed-off-by: Gordon Govan <gg@kialo.com>
    gg-kialo committed May 8, 2023
    Configuration menu
    Copy the full SHA
    caab1c3 View commit details
    Browse the repository at this point in the history