1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Catch exception rather than standarderror

This commit is contained in:
Mike Perham 2012-08-22 09:44:08 -07:00
parent 80acab20ab
commit 7b0c19941b
2 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,8 @@ HEAD
- Add support for custom tabs to Sidekiq::Web [#346]
- Change capistrano recipe to run 'quiet' before deploy:update\_code so
it is run upon both 'deploy' and 'deploy:migrations'. [#352]
- Rescue Exception rather than StandardError to catch and log any sort
of Processor death.
2.2.0
-----------

View file

@ -43,7 +43,7 @@ module Sidekiq
worker.perform(*cloned(msg['args']))
end
end
rescue => ex
rescue Exception => ex
handle_exception(ex, msg || { :message => msgstr })
raise
end