summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.