diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2012-07-15 16:15:03 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-07-15 16:15:03 +0100 |
commit | fc3f3fab60d8afff49ffaffe16d4d34c69112a86 (patch) | |
tree | 8536948c89834e06c6b8107ceb5292cbd4cc8ebb | |
parent | ff258ee58e429221ce1163604c418b57619221f7 (diff) | |
download | rabbitmq-server-fc3f3fab60d8afff49ffaffe16d4d34c69112a86.tar.gz |
oops - 'hg record' diff boundary fail
-rw-r--r-- | src/rabbit_channel.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index ad39001c..66b4e79a 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -405,6 +405,10 @@ handle_exception(Reason, State = #ch{protocol = Protocol, writer_pid = WriterPid, reader_pid = ReaderPid, conn_pid = ConnPid}) -> + {CloseChannel, CloseMethod} = + rabbit_binary_generator:map_exception(Channel, Reason, Protocol), + rabbit_log:error("connection ~p, channel ~p - error:~n~p~n", + [ConnPid, Channel, Reason]), %% something bad's happened: notify_queues may not be 'ok' {_Result, State1} = notify_queues(State), case CloseChannel of |