lib/deimos/instrumentation.rb in deimos-ruby-1.23.1.pre.beta1 vs lib/deimos/instrumentation.rb in deimos-ruby-1.23.1.pre.beta2

- old
+ new

@@ -46,9 +46,10 @@ # Listens for any exceptions that happen during publishing and re-publishes # as a Deimos event. # @param event [ActiveSupport::Notifications::Event] # @return [void] def self.send_produce_error(event) + Rails.logger.info(event) exception = event.payload[:exception_object] return unless exception if exception.respond_to?(:failed_messages) messages = exception.failed_messages