diff --git a/sentry-rails/lib/sentry/rails/active_job.rb b/sentry-rails/lib/sentry/rails/active_job.rb index ddb899ed4..b9b447500 100644 --- a/sentry-rails/lib/sentry/rails/active_job.rb +++ b/sentry-rails/lib/sentry/rails/active_job.rb @@ -74,8 +74,8 @@ def register_retry_stopped_subscriber end def retry_stopped_handler(*args) + return if already_supported_by_sentry_integration? return unless Sentry.configuration.active_job.report_after_job_retries - event = ActiveSupport::Notifications::Event.new(*args) job = event.payload[:job] error = event.payload[:error]