summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-20 10:45:53 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-09-20 10:45:53 +0100
commit2a75edd4a5e2430cadeb7cfc8a0626a64b91c036 (patch)
treee6471867a46bca4e86fdd9e97554995fd037e8fd /src
parent3f210cd27da5918ad09077a5a57880ab97311e33 (diff)
downloadrabbitmq-server-git-2a75edd4a5e2430cadeb7cfc8a0626a64b91c036.tar.gz
slightly more informative errors
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_plugin.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_plugin.erl b/src/rabbit_plugin.erl
index 7cde5b77cc..94d041d3be 100644
--- a/src/rabbit_plugin.erl
+++ b/src/rabbit_plugin.erl
@@ -343,7 +343,8 @@ enable_one_plugin(#plugin{name = Name, version = Version, location = Path},
case file:copy(Path, TargetPath) of
{ok, _Bytes} -> ok;
{error, Err} -> io:format("Error enabling ~p (~p)~n",
- [Name, {cannot_enable_plugin, Path, Err}]),
+ [Name, {cannot_enable_plugin,
+ Path, TargetPath, Err}]),
rabbit_misc:quit(2)
end.