Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased
## 6.1.1

### Improvements

Expand All @@ -8,6 +8,7 @@

- Properly skip silenced `ActiveRecord::Base.logger`'s log entries in the ActiveRecord log subscriber ([#2775](https://github.com/getsentry/sentry-ruby/pull/2775))
- Skip malformed utf-8 messages ([#2777](https://github.com/getsentry/sentry-ruby/pull/2777))
- Fix initialized check in Sentry::Rails::CaptureExceptions ([#2783](https://github.com/getsentry/sentry-ruby/pull/2783))

## 6.1.0

Expand Down
1 change: 1 addition & 0 deletions sentry-rails/lib/sentry/rails/capture_exceptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def transaction_op

def capture_exception(exception, env)
# the exception will be swallowed by ShowExceptions middleware
return unless Sentry.initialized?
return if show_exceptions?(exception, env) && !Sentry.configuration.rails.report_rescued_exceptions

Sentry::Rails.capture_exception(exception).tap do |event|
Expand Down
Loading