drill-issues mailing list archives

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

     [ 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)

Mime
View raw message