Skip to content

Commit

Permalink
handle already_supported_by_sentry_integration
Browse files Browse the repository at this point in the history
  • Loading branch information
modosc committed Dec 18, 2024
1 parent 0ce620d commit 40add25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry-rails/lib/sentry/rails/active_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 40add25

Please sign in to comment.