问题
I am using Sidekiq 3 in my ruby on rails 3.2 application. How can I handle exception in Sidekiq jobs without plugin (for example: Honeybadger, Airbrake, Rollbar, BugSnag). I want to catch exception that occurs in the job.
回答1:
Bugsnag actually comes with built-in support for catching errors in both Sidekiq 2 and 3, so it will automatically detect any exceptions in your sidekiq jobs!
来源:https://stackoverflow.com/questions/24269388/handle-exception-in-sidekiq-3-jobs