You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "René Cordier (Jira)" <se...@james.apache.org> on 2020/06/05 03:34:00 UTC
[jira] [Commented] (JAMES-3198) UserMailboxes api should provide
detailMessage when error happened
[ https://issues.apache.org/jira/browse/JAMES-3198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126341#comment-17126341 ]
René Cordier commented on JAMES-3198:
-------------------------------------
[https://github.com/linagora/james-project/pull/3417] contributed to this issue
> UserMailboxes api should provide detailMessage when error happened
> ------------------------------------------------------------------
>
> Key: JAMES-3198
> URL: https://issues.apache.org/jira/browse/JAMES-3198
> Project: James Server
> Issue Type: Improvement
> Reporter: Nguyễn Việt Đức
> Priority: Major
>
> Creating/ Retreiving/ Delete a mailbox of non-existing user
> Actual: Returns error message:
> ```
> {
> "statusCode": 404,
> "type": "InvalidArgument",
> "message": "Invalid get on user mailboxes",
> "details": null
> }
> ```
> Expected result
> Should add more details, such as:
> ```
> {
> "statusCode": 404,
> "type": "InvalidArgument",
> "message": "Invalid get on user mailboxes",
> "details": "non-existing user"
> }
> ```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org