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

[jira] [Updated] (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:all-tabpanel ]

Adam Gilmore updated DRILL-2764:
--------------------------------
    Attachment: DRILL-2764.1.patch.txt

Added a generic exception mapper which simply returns the status code and the error message.

> 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: Jason Altekruse
>            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)