mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Dont explode on JRuby error, fixes #1653
This commit is contained in:
parent
b39657ddff
commit
03823ae13a
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ module Sidekiq
|
|||
end
|
||||
end
|
||||
nr
|
||||
rescue RuntimeError => ex
|
||||
# RuntimeError: ObjectSpace is disabled; each_object will only work with Class, pass -X+O to enable
|
||||
puts "Unable to reopen logs: #{ex.message}"
|
||||
end
|
||||
|
||||
def logger
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue