File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 4.3.2
4
+
5
+ - Avoid recording SendEventJob's transaction [ #1351 ] ( https://github.com/getsentry/sentry-ruby/pull/1351 )
6
+ - Fixes [ #1348 ] ( https://github.com/getsentry/sentry-ruby/issues/1348 )
7
+
3
8
## 4.3.1
4
9
5
10
- Only apply background worker patch if ActiveRecord is loaded [ #1350 ] ( https://github.com/getsentry/sentry-ruby/pull/1350 )
Original file line number Diff line number Diff line change 4
4
5
5
- Add Sentry.set_context helper [ #1337 ] ( https://github.com/getsentry/sentry-ruby/pull/1337 )
6
6
- Fix handle the case where the logger messages is not of String type [ #1341 ] ( https://github.com/getsentry/sentry-ruby/pull/1341 )
7
+ - Don't report Sentry::ExternalError to Sentry [ #1353 ] ( https://github.com/getsentry/sentry-ruby/pull/1353 )
7
8
8
9
## 4.3.0
9
10
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ module Sentry
2
2
class Error < StandardError
3
3
end
4
4
5
- class ExternalError < StandardError
5
+ class ExternalError < Error
6
6
end
7
7
end
Original file line number Diff line number Diff line change @@ -179,6 +179,13 @@ class Exception < RuntimeError; end
179
179
end
180
180
end
181
181
182
+ context 'for a Sentry::ExternalError' do
183
+ let ( :exception ) { Sentry ::ExternalError . new }
184
+ it 'does not create an event' do
185
+ expect ( subject . event_from_exception ( exception ) ) . to be_nil
186
+ end
187
+ end
188
+
182
189
context 'for an excluded exception type' do
183
190
module Sentry ::Test
184
191
class BaseExc < RuntimeError ; end
You can’t perform that action at this time.
0 commit comments