drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-2764) REST API should return exception details on error
Date Mon, 13 Apr 2015 19:09:13 GMT

    [ https://issues.apache.org/jira/browse/DRILL-2764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14492878#comment-14492878

Jacques Nadeau commented on DRILL-2764:

While I think we should really fix this using the Response metaphor, this is a good hack for
now so we can simply get something back to the user. +1

> REST API should return exception details on error
> -------------------------------------------------
>                 Key: DRILL-2764
>                 URL: https://issues.apache.org/jira/browse/DRILL-2764
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Client - HTTP
>    Affects Versions: 0.8.0
>            Reporter: Adam Gilmore
>            Assignee: Adam Gilmore
>            Priority: Minor
>         Attachments: DRILL-2764.1.patch.txt
> Currently, if an exception occurs via the REST API (e.g. your query is invalid or fails
to execute for any reason), the server returns a 500 status code with a standard error page.
> We should be getting the full details of the exception that occurred so we can log the
results and have better insight into the success of the query.

This message was sent by Atlassian JIRA

View raw message