GitHub user senthilkumar-kj opened a pull request:

    https://github.com/apache/incubator-usergrid/pull/211

    [USERGRID-538] - improve error response for uncaught errors

    Added UncaughtException to handle uncaught errors. It creates a time uuid 
and it is set as error id in error response. 
    
    Sample response, 
    > 
{"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"}

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/senthilkumar-kj/incubator-usergrid 
two-dot-o-dev-uncaught

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-usergrid/pull/211.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #211
    
----
commit 79d7ec615b7db81ed30acb501b580644f50818a9
Author: Senthil Kumar K <senthilkumar...@gmail.com>
Date:   2015-04-03T03:28:09Z

    [USERGRID-538] - improve error response for uncaught errors
    
    Add time uuid to error response to track the error from logs

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to