Notify Sucker Punch background exceptions using Exception Notification

Sucker Punch is a Ruby asynchronous processing library using Celluloid, heavily influenced by Sidekiq and girl_friday.

The Exception Notification gem provides a set of notifiers for sending notifications when errors occur in a Rack/Rails application.

To notify Sucker Punch actors exceptions add a new initializer config/sucker_punch_exception_notification.rb:

1
Celluloid.exception_handler { |ex| ExceptionNotifier.notify_exception(ex) }

See also Celluloid FAQ: How can I use a custom exception notifier like Airbrake?.

Next: Sqlite3 readable output