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:
parent
80acab20ab
commit
7b0c19941b
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
-----------
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue