1
0
Fork 0
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:
Mike Perham 2014-04-21 21:03:08 -07:00
parent b39657ddff
commit 03823ae13a

View file

@ -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