Skip to content

Commit

Permalink
Merge pull request #796 from fukayatsu/fix-sidekiq-deprecation-warning
Browse files Browse the repository at this point in the history
Fix deprecation warning from Sidekiq error handler
  • Loading branch information
imjoehaines authored Dec 18, 2023
2 parents c14b1e3 + e169980 commit ee7ffbd
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 ee7ffbd

Please sign in to comment.