Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Rails 7.1 error reporter #2827

Open
harmdewit opened this issue Jan 7, 2025 · 0 comments
Open

Support for Rails 7.1 error reporter #2827

harmdewit opened this issue Jan 7, 2025 · 0 comments

Comments

@harmdewit
Copy link

Is your feature request related to a problem? Please describe.
Rails 7.1 introduced the Rails error reporter: https://guides.rubyonrails.org/error_reporting.html
When using the Rails error reporter rescued errors are quietly handled. Unless I'm overlooking something I don't see support as of it yet.

Describe the solution you'd like
Would like to be able to test if these errors are reported.

Describe alternatives you've considered
Rails minitest has support here: https://edgeapi.rubyonrails.org/classes/ActiveSupport/Testing/ErrorReporterAssertions.html#method-i-assert_error_reported

Test side effects like no errors being raised and testing third party error reporters directly.

Additional context
Add any other context or screenshots about the feature request here.

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

No branches or pull requests

1 participant