lib/bunny/channel.rb in bunny-1.5.0.pre2 vs lib/bunny/channel.rb in bunny-1.5.0
- old
+ new
@@ -194,10 +194,10 @@
@next_publish_seq_no = 0
@delivery_tag_offset = 0
@recoveries_counter = Bunny::Concurrent::AtomicFixnum.new(0)
@uncaught_exception_handler = Proc.new do |e, consumer|
- @logger.error "Uncaught exception from consumer #{consumer.to_s}: #{e.message}"
+ @logger.error "Uncaught exception from consumer #{consumer.to_s}: #{e.inspect} @ #{e.backtrace[0]}"
end
end
attr_reader :recoveries_counter