| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:814ccb05-c534-7cad-7a28-c1f6e15cb308 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C5CA:C5218:67BF06:8C63BD:6B04CB0C |
| html-safe-nonce | 8ba17d99b5a2d21c2e2a79e001b8efc28b4e8b9d950a5fc933e5105fbaa9e1e6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUNBOkM1MjE4OjY3QkYwNjo4QzYzQkQ6NkIwNENCMEMiLCJ2aXNpdG9yX2lkIjoiMzMyMzEzNjc4ODUwNzQ0NjAyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6961780e0a01cf592861cb6d07dea34f70014bd14cdb0aa501d108f35fdda528 |
| hovercard-subject-tag | pull_request:5098697896 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-ruby/3167/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/580767b7fa5b96ae017af923520e77b04628f60c8e9371ef8d0dbfbadc5e6bed/getsentry/sentry-ruby/pull/3167 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/580767b7fa5b96ae017af923520e77b04628f60c8e9371ef8d0dbfbadc5e6bed/getsentry/sentry-ruby/pull/3167 |
| og:image:alt | Fixes #3166
Resolves RUBY-239
Cause
With register_error_subscriber, Sentry::Rails::CaptureExceptions captures the ActionView::Template::Error and ErrorSubscriber later reports its cause, a differen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pcbeingused333 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 27ed421e5c2dac040a37529b5b9191edcc4a3de70521471e81fb4b4d9dc2aa7d |
| turbo-cache-control | no-cache |
| go-import | github.com/getsentry/sentry-ruby git https://github.com/getsentry/sentry-ruby.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3947396 |
| octolytics-dimension-repository_nwo | getsentry/sentry-ruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3947396 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-ruby |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63dc19014c621c67306d7899c04c78dcd0d95803 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-ruby/pull/3167#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F3167 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F3167 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-ruby |
| Reload | https://github.com/getsentry/sentry-ruby/pull/3167 |
| Reload | https://github.com/getsentry/sentry-ruby/pull/3167 |
| Reload | https://github.com/getsentry/sentry-ruby/pull/3167 |
| getsentry | https://github.com/getsentry |
| sentry-ruby | https://github.com/getsentry/sentry-ruby |
| Code | https://github.com/getsentry/sentry-ruby |
| Issues72 (72) | https://github.com/getsentry/sentry-ruby/issues |
| Pull requests33 (33) | https://github.com/getsentry/sentry-ruby/pulls |
| Actions | https://github.com/getsentry/sentry-ruby/actions |
| Security and quality | https://github.com/getsentry/sentry-ruby/security |
| Insights | https://github.com/getsentry/sentry-ruby/insights |
| https://github.com/getsentry/sentry-ruby |
| pcbeingused333 | https://github.com/pcbeingused333 |
| getsentry:master | https://github.com/getsentry/sentry-ruby/tree/master |
| pcbeingused333:fix/capture-exception-cause-chain | https://github.com/pcbeingused333/sentry-ruby/tree/fix/capture-exception-cause-chain |
| Conversation | https://github.com/getsentry/sentry-ruby/pull/3167 |
| Commits4 (4) | https://github.com/getsentry/sentry-ruby/pull/3167/commits |
| Checks | https://github.com/getsentry/sentry-ruby/pull/3167/checks |
| Files changed | https://github.com/getsentry/sentry-ruby/pull/3167/files |
| fix(rails): do not report the cause of an already captured view error twice | https://github.com/getsentry/sentry-ruby/pull/3167#top |
| pcbeingused333 | https://github.com/pcbeingused333 |
| getsentry:master | https://github.com/getsentry/sentry-ruby/tree/master |
| pcbeingused333:fix/capture-exception-cause-chain | https://github.com/pcbeingused333/sentry-ruby/tree/fix/capture-exception-cause-chain |
|
| https://github.com/pcbeingused333 |
| pcbeingused333 | https://github.com/pcbeingused333 |
| Oct 31, 2026 | https://github.com/getsentry/sentry-ruby/pull/3167#issue-6136269867 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/3167 |
| #3166 | https://github.com/getsentry/sentry-ruby/issues/3166 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/3167 |
|
| https://github.com/pcbeingused333 |
|
| https://github.com/claude |
| fix(ruby): do not capture an exception whose cause chain was already … | https://github.com/getsentry/sentry-ruby/pull/3167/commits/20dad7e60427e34197252194f29b23922b2a296e |
| 20dad7e | https://github.com/getsentry/sentry-ruby/pull/3167/commits/20dad7e60427e34197252194f29b23922b2a296e |
| getsentry#3166 | https://github.com/getsentry/sentry-ruby/issues/3166 |
| https://github.com/apps/sentry-junior |
| sentry-junior | https://github.com/apps/sentry-junior |
| sl0thentr0py | https://github.com/sl0thentr0py |
| solnic | https://github.com/solnic |
| November 3, 2026 09:38 | https://github.com/getsentry/sentry-ruby/pull/3167#event-35003052400 |
| https://github.com/apps/sentry-junior |
| sentry-junior | https://github.com/apps/sentry-junior |
|
Nov 3, 2026
| https://github.com/getsentry/sentry-ruby/pull/3167#ref-pullrequest-6179954585 |
|
Reproduction for sentry-ruby#3166
getsentry/repro#66
| https://github.com/getsentry/repro/pull/66 |
| https://github.com/sl0thentr0py |
| sl0thentr0py | https://github.com/sl0thentr0py |
|
Nov 3, 2026
| https://github.com/getsentry/sentry-ruby/pull/3167#pullrequestreview-5751659360 |
|
View reviewed changes
| https://github.com/getsentry/sentry-ruby/pull/3167/files/20dad7e60427e34197252194f29b23922b2a296e |
| sentry-ruby/lib/sentry-ruby.rb | https://github.com/getsentry/sentry-ruby/pull/3167/files/20dad7e60427e34197252194f29b23922b2a296e#diff-22b275750d1e90117f2c54a2b886b774f2eee7a8a96b2c3cd029b4ca182a12d5 |
| sl0thentr0py | https://github.com/sl0thentr0py |
| Nov 3, 2026 | https://github.com/getsentry/sentry-ruby/pull/3167#discussion_r4454245552 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/3167 |
| pcbeingused333 | https://github.com/pcbeingused333 |
| November 3, 2026 07:04 | https://github.com/getsentry/sentry-ruby/pull/3167#commits-pushed-da51d20 |
|
| https://github.com/pcbeingused333 |
| Revert "fix(ruby): do not capture an exception whose cause chain was … | https://github.com/getsentry/sentry-ruby/pull/3167/commits/da51d2062e0a32870fa61aa57a4517990222a6a4 |
| da51d20 | https://github.com/getsentry/sentry-ruby/pull/3167/commits/da51d2062e0a32870fa61aa57a4517990222a6a4 |
| 20dad7e | https://github.com/pcbeingused333/sentry-ruby/commit/20dad7e60427e34197252194f29b23922b2a296e |
|
| https://github.com/pcbeingused333 |
|
| https://github.com/claude |
| fix(rails): dedupe the cause of a view error in CaptureExceptions only | https://github.com/getsentry/sentry-ruby/pull/3167/commits/a240ac1350ee328d328bccc7c9ca088ace6ba86d |
| a240ac1 | https://github.com/getsentry/sentry-ruby/pull/3167/commits/a240ac1350ee328d328bccc7c9ca088ace6ba86d |
| getsentry#3166 | https://github.com/getsentry/sentry-ruby/issues/3166 |
| https://github.com/pcbeingused333 |
| pcbeingused333 | https://github.com/pcbeingused333 |
| Nov 3, 2026 | https://github.com/getsentry/sentry-ruby/pull/3167#event-35016072480 |
| https://github.com/pcbeingused333 |
| pcbeingused333 | https://github.com/pcbeingused333 |
| Nov 3, 2026 | https://github.com/getsentry/sentry-ruby/pull/3167#issuecomment-6603492536 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/3167 |
| https://github.com/apps/cursor |
| cursor | https://github.com/apps/cursor |
|
Nov 3, 2026
| https://github.com/getsentry/sentry-ruby/pull/3167#pullrequestreview-5752068734 |
|
View reviewed changes
| https://github.com/getsentry/sentry-ruby/pull/3167/files/a240ac1350ee328d328bccc7c9ca088ace6ba86d |
| cursor | https://github.com/apps/cursor |
| https://github.com/getsentry/sentry-ruby/pull/3167#pullrequestreview-5752068734 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTozM2IwNzg0NS1jNDU1LTQ3NjQtYWQyZC0zMzJjNzNlZGEyY2QiLCJlbmNyeXB0aW9uS2V5IjoiUmltWUhxcmpsVlRtNkVsRm1LbkpDRXk4anJid3NONlZyZXFNQ2hHZW9wYyIsImJyYW5jaCI6ImZpeC9jYXB0dXJlLWV4Y2VwdGlvbi1jYXVzZS1jaGFpbiIsInJlcG9Pd25lciI6ImdldHNlbnRyeSIsInJlcG9OYW1lIjoic2VudHJ5LXJ1YnkiLCJwcm92aWRlciI6ImdpdGh1YiJ9fQ |
| Cursor dashboard | https://www.cursor.com/dashboard/bugbot |
| Cursor Bugbot | https://cursor.com/bugbot |
| a240ac1 | https://github.com/getsentry/sentry-ruby/commit/a240ac1350ee328d328bccc7c9ca088ace6ba86d |
| here | https://www.cursor.com/dashboard/bugbot |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/3167 |
| sentry-rails/lib/sentry/rails/capture_exceptions.rb | https://github.com/getsentry/sentry-ruby/pull/3167/files/a240ac1350ee328d328bccc7c9ca088ace6ba86d#diff-aadcce94476fddcff877fb79dc4481c49bb4be93f8a8e0a01ac78effde2238db |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/3167 |
|
| https://github.com/pcbeingused333 |
|
| https://github.com/claude |
| fix(rails): mark the causes as captured only when an event was sent | https://github.com/getsentry/sentry-ruby/pull/3167/commits/b0fe83b7fbd66adffc8a79a619dc932a7129649c |
| b0fe83b | https://github.com/getsentry/sentry-ruby/pull/3167/commits/b0fe83b7fbd66adffc8a79a619dc932a7129649c |
| https://github.com/pcbeingused333 |
| pcbeingused333 | https://github.com/pcbeingused333 |
| Nov 3, 2026 | https://github.com/getsentry/sentry-ruby/pull/3167#issuecomment-6608310420 |
| b0fe83b | https://github.com/getsentry/sentry-ruby/commit/b0fe83b7fbd66adffc8a79a619dc932a7129649c |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/3167 |
| https://github.com/pcbeingused333 |
| pcbeingused333 | https://github.com/pcbeingused333 |
| Nov 10, 2026 | https://github.com/getsentry/sentry-ruby/pull/3167#issuecomment-6780874640 |
| @sl0thentr0py | https://github.com/sl0thentr0py |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/3167 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-ruby/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-ruby%2Fpull%2F3167 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/getsentry/sentry-ruby/pull/3167/files/a240ac1350ee328d328bccc7c9ca088ace6ba86d |
|
| https://github.com/sl0thentr0py |
|
sl0thentr0py
| https://github.com/sl0thentr0py |
|
| https://github.com/getsentry/sentry-ruby/pull/3167/files/20dad7e60427e34197252194f29b23922b2a296e |
|
| https://github.com/solnic |
|
solnic
| https://github.com/solnic |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/3167 |
|
With register_error_subscriber, view errors are reported twice: the wrapper by the middleware, and its cause by the error subscriber
| https://github.com/getsentry/sentry-ruby/issues/3166 |
| Please reload this page | https://github.com/getsentry/sentry-ruby/pull/3167 |
|
| https://github.com/pcbeingused333 |
|
| https://github.com/sl0thentr0py |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |