lib/pheme/queue_poller.rb in pheme-1.2.0 vs lib/pheme/queue_poller.rb in pheme-1.2.1
- old
+ new
@@ -43,10 +43,10 @@
@messages_processed += 1
rescue SignalException
throw :stop_polling
rescue StandardError => e
Pheme.logger.error(e)
- Pheme.rollbar(e, "#{self.class} failed to process message", content)
+ Pheme.rollbar(e, "#{self.class} failed to process message", { message: content })
end
end
end
end
log_polling_end(time_start)