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

Parse actual response body for HTTP error #161

Merged
merged 2 commits into from
Jun 10, 2019

Conversation

haltwise
Copy link
Contributor

@haltwise haltwise commented May 3, 2019

Before:

           OSError: HTTP Error 500: Internal Server Error 
            Druid Error: Internal Server Error 
            Query is: {
...

After:

           OSError: HTTP Error 500: Internal Server Error 
            Druid Error: {'error': 'Unknown exception', 'errorMessage': "Instantiation of [simple type, class org.apache.druid.query.groupby.GroupByQuery] value failed: querySegmentSpec can't be null", 'errorClass': 'com.fasterxml.jackson.databind.JsonMappingException', 'host': None} 
            Query is: {
...

@mistercrunch mistercrunch merged commit c0d0e1f into druid-io:master Jun 10, 2019
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

Successfully merging this pull request may close these issues.

2 participants