Skip to content

Support for Rails 7.1 error reporter #2827

Open
@harmdewit

Description

@harmdewit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions