summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Klishin <michael@rabbitmq.com>2014-06-17 11:16:03 +0400
committerMichael Klishin <michael@rabbitmq.com>2014-06-17 11:16:03 +0400
commitb4c3797f62ba7db688a2d2a47e8e29c9adf77997 (patch)
tree7f1eabbdc0be1735454570e000494bf337eaf6dd /src
parent4c8f870823b329332bb7b3e10386780de3e42846 (diff)
downloadrabbitmq-server-git-b4c3797f62ba7db688a2d2a47e8e29c9adf77997.tar.gz
Re-format based on feedback from Matthias
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_channel.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index db6aa989eb..da51bf0f11 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -447,10 +447,11 @@ handle_exception(Reason, State = #ch{protocol = Protocol,
{_Result, State1} = notify_queues(State),
case rabbit_binary_generator:map_exception(Channel, Reason, Protocol) of
{Channel, CloseMethod} ->
- rabbit_log:error("vhost ~s, user ~s, connection ~s, channel ~p - soft error:~n~p~n",
- [binary_to_list(VHost),
+ rabbit_log:error("connection ~s, channel ~p - soft error (vhost '~s', user '~s'):~n~p~n",
+ [ConnName, Channel,
+ binary_to_list(VHost),
binary_to_list(Username),
- ConnName, Channel, Reason]),
+ Reason]),
ok = rabbit_writer:send_command(WriterPid, CloseMethod),
{noreply, State1};
{0, _} ->