Skip to content

[Feature Request] How to handle errors #162

@niconiahi

Description

@niconiahi

What problem would this feature solve?

Being able to send to Sentry the error that may happen on the third party scriptthird-party

Describe the solution you’d like to see

would like to see this:

    <LiveChatLoaderProvider
      onError: (error) => {
        Sentry.captureError(throw error)
      }
    >
      <HelpScout />
    </LiveChatLoaderProvider>

Are you willing to work on implementing this solution?

Yes

Describe alternatives you’ve considered

there are no alternatives, as it happens on the window (the browser) so it's not caught not even on the ErrorBoundary on the _app on a NextJS app

Additional context

No response

Code of Conduct

  • I agree to follow this project’s Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions