lib/heavylog.rb in heavylog-0.0.24 vs lib/heavylog.rb in heavylog-0.0.25
- old
+ new
@@ -52,10 +52,10 @@
def attach_to_sidekiq
return unless config.log_sidekiq
Sidekiq.configure_server do |config|
- config.options[:job_logger] = SidekiqLogger
+ config[:job_logger] = SidekiqLogger
end
Sidekiq.error_handlers << SidekiqExceptionHandler.new
end