summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_reader.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index b773f83ba9..707e576f69 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -230,6 +230,7 @@ start_connection(Parent, ChannelSupSupPid, Collector, StartHeartbeatFun, Deb,
catch
Ex -> log(case Ex of
connection_closed_abruptly -> warning;
+ {timeout, _CState} -> amqp_heartbeat_timeout;
_ -> error
end, "closing AMQP connection ~p (~s):~n~p~n",
[self(), ConnStr, Ex])