Skip to content

Disabling printing the errors via a boolean flag #1496

Closed
@BjoernRave

Description

@BjoernRave

Is your feature request related to a problem? Please describe.

Currently its possible to disable next-intl to log the errors it encounters by passing a custom onError event handler. However when in the app router on a server component it errors, as you are not allowed to pass event handlers there.

Screenshot 2024-10-31 at 13 14 32

Describe the solution you'd like

Provide a simple boolean field to disable logging of errors

Describe alternatives you've considered

Putitng the provider inside a client compponent, but its more tedious

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions