We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 6f41f6f commit 996c046Copy full SHA for 996c046
sentry-rails/lib/sentry/rails/railtie.rb
@@ -52,7 +52,8 @@ class Railtie < ::Rails::Railtie
52
53
register_error_subscriber(app) if ::Rails.version.to_f >= 7.0 && Sentry.configuration.rails.register_error_subscriber
54
55
- register_retry_stopped_subscriber if defined?(ActiveJob)
+ # Presence of ActiveJob is no longer a reliable cue
56
+ register_retry_stopped_subscriber if defined?(Sentry::Rails::ActiveJobExtensions)
57
end
58
59
runner do
0 commit comments