[
https://issues.apache.org/jira/browse/USERGRID-1189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075580#comment-15075580
]
ASF GitHub Bot commented on USERGRID-1189:
------------------------------------------
GitHub user mdunker opened a pull request:
https://github.com/apache/usergrid/pull/453
USERGRID-1189: fix confusing error messages in REST layer
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mdunker/usergrid USERGRID-1189
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/usergrid/pull/453.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 #453
----
commit abf27db752d9e00770df88defa4489b9b642d819
Author: Mike Dunker <[email protected]>
Date: 2015-12-31T00:54:11Z
USERGRID-1189: fix confusing error messages in REST layer
----
> Fix confusing error message(s)
> ------------------------------
>
> Key: USERGRID-1189
> URL: https://issues.apache.org/jira/browse/USERGRID-1189
> Project: Usergrid
> Issue Type: Story
> Affects Versions: 2.1.1
> Reporter: Mike Dunker
>
> This is just to pick off any low-hanging fruit re error messages.
> Example:
> curl -H "Authorization:Bearer $UGTOKEN" -X POST
> "http://localhost:8080/management/users/[email protected]"
> {"error":"management","timestamp":1451521189319,"duration":0,"error_description":"Could
> not find organization for email :
> [email protected]","exception":"org.apache.usergrid.management.exceptions.ManagementException"}
> Error message should be "Could not find user for email..."
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)