Commit 7ad595a 1 parent 4a0f70e commit 7ad595a Copy full SHA for 7ad595a
File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 37
37
38
38
### Bug Fixes
39
39
40
+ - Ignore internal Sidekiq::JobRetry::Handled exception [ #2337 ] ( https://github.com/getsentry/sentry-ruby/pull/2337 )
40
41
- Fix Vernier profiler not stopping when already stopped [ #2429 ] ( https://github.com/getsentry/sentry-ruby/pull/2429 )
41
42
- Fix ` send_default_pii ` handling in rails controller spans [ #2443 ] ( https://github.com/getsentry/sentry-ruby/pull/2443 )
42
43
- Fixes [ #2438 ] ( https://github.com/getsentry/sentry-ruby/issues/2438 )
Original file line number Diff line number Diff line change @@ -11,7 +11,10 @@ class Configuration
11
11
end
12
12
13
13
module Sidekiq
14
- IGNORE_DEFAULT = [ "Sidekiq::JobRetry::Skip" ]
14
+ IGNORE_DEFAULT = [
15
+ "Sidekiq::JobRetry::Skip" ,
16
+ "Sidekiq::JobRetry::Handled"
17
+ ]
15
18
16
19
class Configuration
17
20
# Set this option to true if you want Sentry to only capture the last job
Original file line number Diff line number Diff line change 15
15
expect ( config . excluded_exceptions ) . to include ( "Sidekiq::JobRetry::Skip" )
16
16
end
17
17
18
+ it "adds Sidekiq::JobRetry::Handled to the ignore list" do
19
+ config = Sentry ::Configuration . new
20
+
21
+ expect ( config . excluded_exceptions ) . to include ( "Sidekiq::JobRetry::Handled" )
22
+ end
23
+
18
24
describe "#report_after_job_retries" do
19
25
it "has correct default value" do
20
26
expect ( subject . report_after_job_retries ) . to eq ( false )
You can’t perform that action at this time.
0 commit comments