diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2017-06-26 21:28:10 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2017-06-26 21:46:57 +0300 |
| commit | fde61ade726bb61679b9b49826c86f969ce0b335 (patch) | |
| tree | bc93b63f040f313d207e9529ff649bdfaebb9d78 | |
| parent | d472412571bc10a1809bfd5ad3115f9d53ace883 (diff) | |
| download | rabbitmq-server-git-fde61ade726bb61679b9b49826c86f969ce0b335.tar.gz | |
Simplify
| -rw-r--r-- | src/rabbit_direct.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/rabbit_direct.erl b/src/rabbit_direct.erl index 5873d88b5f..b1e562d7f4 100644 --- a/src/rabbit_direct.erl +++ b/src/rabbit_direct.erl @@ -130,12 +130,9 @@ maybe_call_connection_info_module(Protocol, Creds, VHost, Pid, Infos) -> try Module:additional_authn_params(Creds, VHost, Pid, Infos) catch - throw:Reason -> + _:Reason -> rabbit_log:warning("Calling ~p failed:~p~n", [Module, Reason]), []; - error:Reason -> - rabbit_log:warning("Calling ~p failed:~p~n", [Module, Reason]), - [] end; error -> []; |
