aboutsummaryrefslogtreecommitdiff
path: root/src/mod_http_api.erl
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2019-04-03 11:48:59 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2019-04-03 11:48:59 +0200
commit33c10867e34558b07ac1d2253e0e8209355219d0 (patch)
treec113dfd2b02648723b782d33103d2bba7ea40d4d /src/mod_http_api.erl
parentMake http_api command execution exception catcher log also command and args (diff)
Formating fix
Diffstat (limited to 'src/mod_http_api.erl')
-rw-r--r--src/mod_http_api.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_http_api.erl b/src/mod_http_api.erl
index 5bda709c2..ef492ed4f 100644
--- a/src/mod_http_api.erl
+++ b/src/mod_http_api.erl
@@ -293,7 +293,7 @@ handle(Call, Auth, Args, Version) when is_atom(Call), is_list(Args) ->
{401, iolist_to_binary(Msg)};
throw:{error, account_unprivileged} ->
{403, 31, <<"Command need to be run with admin privilege.">>};
- throw:{error, access_rules_unauthorized} ->
+ throw:{error, access_rules_unauthorized} ->
{403, 32, <<"AccessRules: Account does not have the right to perform the operation.">>};
throw:{invalid_parameter, Msg} ->
{400, iolist_to_binary(Msg)};