summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-06-11 11:15:38 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-06-11 11:15:38 +0100
commit93923c729f9611ccc25912354efaaeffa55feed4 (patch)
tree68534034318e6c7aafef8c6d602f9aa1eaef54e2
parent7f07114a267a6ec9792f69ec889c8f18666b6603 (diff)
downloadrabbitmq-server-93923c729f9611ccc25912354efaaeffa55feed4.tar.gz
Report errors from the server (such as mismatched plugin files) correctly.
-rw-r--r--src/rabbit_plugins_main.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_plugins_main.erl b/src/rabbit_plugins_main.erl
index b7bc9ce6..a1243b77 100644
--- a/src/rabbit_plugins_main.erl
+++ b/src/rabbit_plugins_main.erl
@@ -354,7 +354,7 @@ rpc_call(Node, Online, Mod, Fun, Args) ->
"broker.~n",
[Node])
end;
- {badrpc, _} = Error ->
+ Error ->
io:format(" failed.~n", []),
Error
end.