From 8c018b808892704e98a73d8f13169c6234af143e Mon Sep 17 00:00:00 2001 From: rubic0n Date: Sun, 31 Jan 2021 17:24:37 -0600 Subject: [PATCH] Don't autoload in initializers: SidekiqErrorHandler DEPRECATION WARNING: Initialization autoloaded the constant SidekiqErrorHandler. --- config/initializers/sidekiq.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index 288453a0..1322c750 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require_relative '../../app/lib/sidekiq_error_handler' + namespace = ENV.fetch('REDIS_NAMESPACE') { nil } redis_params = { url: ENV['REDIS_URL'] }