From e169980b5376aa08738e0f0026f18e2326af2365 Mon Sep 17 00:00:00 2001 From: fukayatsu Date: Wed, 11 Oct 2023 17:05:50 +0900 Subject: [PATCH] Fix sidekiq deprecation warning --- lib/bugsnag/integrations/sidekiq.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bugsnag/integrations/sidekiq.rb b/lib/bugsnag/integrations/sidekiq.rb index 36dfab15..8e86cf77 100644 --- a/lib/bugsnag/integrations/sidekiq.rb +++ b/lib/bugsnag/integrations/sidekiq.rb @@ -50,7 +50,7 @@ def self.sidekiq_supports_error_handlers def self.configure_server(server) if Bugsnag::Sidekiq.sidekiq_supports_error_handlers - server.error_handlers << proc do |ex, _context| + server.error_handlers << proc do |ex, _context, _config = nil| Bugsnag::Sidekiq.notify(ex) Bugsnag.configuration.clear_request_data end