lib/bunny/exceptions.rb in bunny-2.2.2 vs lib/bunny/exceptions.rb in bunny-2.3.0

- old
+ new

@@ -67,10 +67,10 @@ def initialize(e, hostname=nil, port=nil) m = case e when String then e - when Exception then + when ::Exception then e.message end if hostname && port super("Could not establish TCP connection to #{hostname}:#{port}: #{m}") else