diff --git a/.changesets/fix-deprecation-warning-for-sidekiq-7-1-6.md b/.changesets/fix-deprecation-warning-for-sidekiq-7-1-6.md new file mode 100644 index 000000000..f0994bc9e --- /dev/null +++ b/.changesets/fix-deprecation-warning-for-sidekiq-7-1-6.md @@ -0,0 +1,6 @@ +--- +bump: "patch" +type: "fix" +--- + +Fix a deprecation warning for Sidekiq 7.1.6+ when an error is reported to AppSignal. (Thanks @bdewater-thatch!) diff --git a/lib/appsignal/integrations/sidekiq.rb b/lib/appsignal/integrations/sidekiq.rb index c8ba16d5c..a256b594c 100644 --- a/lib/appsignal/integrations/sidekiq.rb +++ b/lib/appsignal/integrations/sidekiq.rb @@ -9,7 +9,7 @@ module Integrations # # @api private class SidekiqErrorHandler - def call(exception, sidekiq_context) + def call(exception, sidekiq_context, _sidekiq_config = nil) transaction = if Appsignal::Transaction.current? Appsignal::Transaction.current