Repository: james-project Updated Branches: refs/heads/master 16410ae2d -> 21188d00e
JAMES-2233 WebAdmin update document with error message in case of error Project: http://git-wip-us.apache.org/repos/asf/james-project/repo Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/1787c9c9 Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/1787c9c9 Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/1787c9c9 Branch: refs/heads/master Commit: 1787c9c96411f0659b04f0549923e3d710feb255 Parents: bde6bdb Author: quynhn <[email protected]> Authored: Mon Dec 4 14:15:58 2017 +0700 Committer: benwa <[email protected]> Committed: Wed Dec 6 09:10:07 2017 +0700 ---------------------------------------------------------------------- src/site/markdown/server/manage-webadmin.md | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/james-project/blob/1787c9c9/src/site/markdown/server/manage-webadmin.md ---------------------------------------------------------------------- diff --git a/src/site/markdown/server/manage-webadmin.md b/src/site/markdown/server/manage-webadmin.md index 8f3f7e0..1484d21 100644 --- a/src/site/markdown/server/manage-webadmin.md +++ b/src/site/markdown/server/manage-webadmin.md @@ -7,6 +7,14 @@ The web administration supports for now the CRUD operations on the domains,the u Please also note **webadmin** is only enabled with **Guice**. You can not use it when using James with **Spring**, as the required injections are not implemented. +In case of any error, the system will return an error message which is json format like this: +{ + statusCode: <error_code>, + type: <error_type>, + message: <the_error_message> + cause: <the_detail_message_from_throwable> +} + ## Administrating domains ### Create a domain --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
