diff options
| author | Tim Watson <tim@rabbitmq.com> | 2012-05-31 17:54:11 +0100 |
|---|---|---|
| committer | Tim Watson <tim@rabbitmq.com> | 2012-05-31 17:54:11 +0100 |
| commit | 517923a521343d24ca36cb32da1b09d1665076e9 (patch) | |
| tree | 0beed006b0de17ac321c60e8d71e01087f2781e0 | |
| parent | 5128463a7662e355f8a30c27509fb3912ffa5806 (diff) | |
| download | rabbitmq-server-git-517923a521343d24ca36cb32da1b09d1665076e9.tar.gz | |
print a different error atom when heartbeat timeout's occur
| -rw-r--r-- | src/rabbit_reader.erl | 1 |
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]) |
