Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Commit

Permalink
Add some context to the Detected TCP connection failure message.
Browse files Browse the repository at this point in the history
Closes #222.
  • Loading branch information
nhooey committed Apr 2, 2016
1 parent c665bdc commit 6524dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/amqp/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def close_connection(*args)
def unbind(exception = nil)
if !@tcp_connection_established && !@had_successfully_connected_before && !@intentionally_closing_connection
@tcp_connection_failed = true
logger.error "[amqp] Detected TCP connection failure"
logger.error "[amqp] Detected TCP connection failure: #{exception}"
self.tcp_connection_failed
end

Expand Down

0 comments on commit 6524dd9

Please sign in to comment.