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