diff options
| author | Michael Klishin <michael@rabbitmq.com> | 2014-06-17 11:16:03 +0400 |
|---|---|---|
| committer | Michael Klishin <michael@rabbitmq.com> | 2014-06-17 11:16:03 +0400 |
| commit | b4c3797f62ba7db688a2d2a47e8e29c9adf77997 (patch) | |
| tree | 7f1eabbdc0be1735454570e000494bf337eaf6dd | |
| parent | 4c8f870823b329332bb7b3e10386780de3e42846 (diff) | |
| download | rabbitmq-server-git-b4c3797f62ba7db688a2d2a47e8e29c9adf77997.tar.gz | |
Re-format based on feedback from Matthias
| -rw-r--r-- | src/rabbit_channel.erl | 7 |
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, _} -> |
