You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/04/13 20:40:13 UTC

[jira] [Commented] (DRILL-2764) REST API should return exception details on error

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

Chris Westin commented on DRILL-2764:
-------------------------------------

I hope this reports the same exceptions I would get for doing the same thing via a programmatic interface. DRILL-2525 would be a nice way to assure that.

> 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
(v6.3.4#6332)