summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 48b9ba6458..b09ad464b5 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -525,8 +525,7 @@ decrypt_app(App, [{Key, Value}|Tail], Algo) ->
decrypt_app(App, Tail, Algo).
decrypt({encrypted, _}, {_, _, _, undefined}) ->
- %% @todo Add pretty log about configuration error.
- erlang:halt(1);
+ exit({bad_configuration, decoder_config});
decrypt({encrypted, EncValue}, {Cipher, Hash, Iterations, Password}) ->
rabbit_pbe:decrypt_term(Cipher, Hash, Iterations, Password, EncValue);
decrypt(List, Algo) when is_list(List) ->