You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Senthil Kumar K (JIRA)" <ji...@apache.org> on 2015/04/03 05:33:52 UTC
[jira] [Commented] (USERGRID-538) Improve uncaught errors' http
response
[ https://issues.apache.org/jira/browse/USERGRID-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394018#comment-14394018 ]
Senthil Kumar K commented on USERGRID-538:
------------------------------------------
Unhandled exceptions in rest will have the following error response.
{code}
{"error":"uncaught","timestamp":1428023297834,"duration":1,"error_description":"Internal Server Error","exception":"org.apache.usergrid.rest.exceptions.UncaughtException","error_id":"e97cf251-d99d-11e4-8c2e-4eff6b02c98b"}
{code}
> Improve uncaught errors' http response
> --------------------------------------
>
> Key: USERGRID-538
> URL: https://issues.apache.org/jira/browse/USERGRID-538
> Project: Usergrid
> Issue Type: Story
> Components: Stack
> Reporter: Senthil Kumar K
> Assignee: Senthil Kumar K
> Priority: Minor
>
> When an uncaught exception happens in stack's rest layer, we throw the java error in response to the user. Such responses could just say internal server error. And as [~tnine] suggested, we could add a time uuid to the error response, so we can correlate the error in logs and track the error down for the user.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)