lib/bunny/channel.rb in bunny-1.0.0.pre5 vs lib/bunny/channel.rb in bunny-1.0.0.pre6
- old
+ new
@@ -1543,10 +1543,10 @@
@work_pool.submit do
begin
@consumers.delete(method.consumer_tag)
consumer.handle_cancellation(method)
rescue Exception => e
- @logger.error "Got excepton when notifying consumer #{method.consumer_tag} about cancellation!"
+ @logger.error "Got exception when notifying consumer #{method.consumer_tag} about cancellation!"
end
end
else
@logger.warn "No consumer for tag #{method.consumer_tag} on channel #{@id}!"
end