-
-
Notifications
You must be signed in to change notification settings - Fork 523
[active_job] support exception reporting only after last retry failed #2573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2dc24df
cf1b4ee
5508b64
0c6e908
951864c
0c1fa77
4a51738
f3717a3
80e899e
02def8c
125ee3f
12f6a36
943d418
942bb64
ed1321e
98855e9
754da23
8649f69
0763fec
4e59569
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,6 +34,8 @@ | |
|
|
||
| Dir["#{__dir__}/support/**/*.rb"].each { |file| require file } | ||
|
|
||
| RAILS_VERSION = Rails.version.to_f | ||
|
|
||
| RSpec.configure do |config| | ||
| # Enable flags like --only-failures and --next-failure | ||
| config.example_status_persistence_file_path = ".rspec_status" | ||
|
|
@@ -52,6 +54,10 @@ | |
| expect(Sentry::Rails::Tracing.subscribed_tracing_events).to be_empty | ||
| Sentry::Rails::Tracing.remove_active_support_notifications_patch | ||
|
|
||
| if defined?(Sentry::Rails::ActiveJobExtensions) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think with our current setup this will always be true?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @st0012 not really, it may or may not be defined, depending on the order of loading files which is pretty much random 🙃 |
||
| Sentry::Rails::ActiveJobExtensions::SentryReporter.detach_retry_stopped_subscriber | ||
| end | ||
|
|
||
| reset_sentry_globals! | ||
| end | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.