diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-03-19 11:21:13 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-03-19 11:21:13 +0000 |
commit | 75ef03ce796db10661f4c3634e34d7cf971413f3 (patch) | |
tree | 33e1447432474f0047195dddbb549e20920625be | |
parent | f2698c6b73b0d52b213fafb0d820151e87cf2aba (diff) | |
download | rabbitmq-server-bug25722.tar.gz |
Better error catching.bug25722
-rw-r--r-- | src/rabbit_mnesia.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl index df499351..f9961f3f 100644 --- a/src/rabbit_mnesia.erl +++ b/src/rabbit_mnesia.erl @@ -602,7 +602,7 @@ discover_cluster(Nodes) -> (Node, _) -> discover_cluster0(Node) end, {error, no_nodes_provided}, Nodes) of {ok, Res} -> Res; - {error, E} -> throw(E); + {error, E} -> throw({error, E}); {badrpc, Reason} -> throw({badrpc_multi, Reason, Nodes}) end. |