Todd Nine created USERGRID-262:
----------------------------------

             Summary: ES cursor errors should be translated for our users
                 Key: USERGRID-262
                 URL: https://issues.apache.org/jira/browse/USERGRID-262
             Project: Usergrid
          Issue Type: Bug
          Components: Stack
            Reporter: Todd Nine


When advancing beyond a cursor's end, or passing an invalid cursor, the 
following error is returned to the user.

{code}
body=
{"error":"elasticsearch_illegal_argument","timestamp":1417654353286,"duration":0,"error_description":"Failed
 to decode 
scrollId","exception":"org.elasticsearch.ElasticsearchIllegalArgumentException"}

{code}

We should catch this error, and return a friendlier error message to our users.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to