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

global-error-handler.md seems to unnecessary/outdated for Stimulus 3.x #96

Open
tmaier opened this issue Aug 3, 2023 · 0 comments
Open

Comments

@tmaier
Copy link

tmaier commented Aug 3, 2023

https://www.betterstimulus.com/error_handling/global-error-handler states an approach how to enable global error handling.

In 2021, following improvements landed in Stimulus: hotwired/stimulus#365

Based on this, the approach how to enable error handling, has been documented officially at https://stimulus.hotwired.dev/handbook/installing#error-handling. It states, that it supports window.onerror, which is being used by most error handlers, like Sentry.

This meas, the current approach is not really necessary anymore.

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