Skip to content

Reproduction for sentry-ruby#3166 - #66

Closed
sentry-junior[bot] wants to merge 1 commit into
mainfrom
repro/sentry-ruby-3166
Closed

sentry-junior[bot] wants to merge 1 commit into
mainfrom
repro/sentry-ruby-3166

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Reproduces getsentry/sentry-ruby#3166: with config.rails.register_error_subscriber = true, a view error is reported twice. The middleware reports the ActionView::Template::Error, and the Rails error subscriber reports its cause.

Single-file Rails 8.1.4 app with sentry-rails 7.1.0 and an in-process DummyTransport. It prints the captured events.

cd sentry-ruby/3166
bundle install
bundle exec ruby repro.rb            # reloading off (production order)
bundle exec ruby repro.rb reloading  # reloading on (development order)

Both modes print 2 events on 7.1.0 and on sentry-ruby master (6a919396). With getsentry/sentry-ruby#3167 (20dad7e6), both modes print 1 event with request context. The README shows how to point the repro at a local sentry-ruby checkout.

via @dingsdax.

--

View Session [Sentry]

Co-Authored-By: Johannes Grin Dreadböck <114897+dingsdax@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant