Skip to content

Commit

Permalink
Fix sidekiq deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fukayatsu committed Oct 13, 2023
1 parent bdfbf39 commit e169980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bugsnag/integrations/sidekiq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e169980

Please sign in to comment.