File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
sentry-rails/lib/sentry/rails Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1- ## Unreleased
1+ ## 6.1.1
22
33### Improvements
44
88
99- Properly skip silenced ` ActiveRecord::Base.logger ` 's log entries in the ActiveRecord log subscriber ([ #2775 ] ( https://github.com/getsentry/sentry-ruby/pull/2775 ) )
1010- Skip malformed utf-8 messages ([ #2777 ] ( https://github.com/getsentry/sentry-ruby/pull/2777 ) )
11+ - Fix initialized check in Sentry::Rails::CaptureExceptions ([ #2783 ] ( https://github.com/getsentry/sentry-ruby/pull/2783 ) )
1112
1213## 6.1.0
1314
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ def transaction_op
2727
2828 def capture_exception ( exception , env )
2929 # the exception will be swallowed by ShowExceptions middleware
30+ return unless Sentry . initialized?
3031 return if show_exceptions? ( exception , env ) && !Sentry . configuration . rails . report_rescued_exceptions
3132
3233 Sentry ::Rails . capture_exception ( exception ) . tap do |event |
You can’t perform that action at this time.
0 commit comments