We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd49cbe commit 9ba545cCopy full SHA for 9ba545c
deps/rabbit/src/rabbit_db_cluster.erl
@@ -231,13 +231,15 @@ join(RemoteNode, NodeType)
231
ok = rabbit_mnesia:leave_discover_cluster(RemoteNode),
232
join(RemoteNode, NodeType)
233
catch
234
+ %% Should we handle the catched error - my reasoning for
235
+ %% ignoring it is that the error we want to show is the
236
+ %% issue of joinging the cluster, not the potential error
237
+ %% of leaving the cluster.
238
_ ->
239
rabbit_log:error(Msg),
240
Error
241
end
- end;
- {error, _} = Error ->
- Error
242
+ end
243
end.
244
245
join_using_mnesia(ClusterNodes, NodeType) when is_list(ClusterNodes) ->
0 commit comments