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
commit7c2f77516c88e6de2174db0759694caeb041c963 (patch)
tree68534034318e6c7aafef8c6d602f9aa1eaef54e2
parent39626c1edc5e73ae8e595cb73ffc98aecbb2522d (diff)
downloadrabbitmq-server-git-7c2f77516c88e6de2174db0759694caeb041c963.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 b7bc9ce67b..a1243b77f7 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.