summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_channel.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index cc0192b0b4..1598ac4d12 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -367,6 +367,8 @@ send_exception(Reason, State = #ch{channel = Channel,
State1 = State#ch{state = closing},
case CloseChannel of
Channel ->
+ rabbit_log:error("connection ~p, channel ~p - error:~n~p~n",
+ [ReaderPid, Channel, Reason]),
ok = rabbit_writer:send_command(WriterPid, CloseMethod),
{noreply, State1};
_ ->