-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create ErrorBoundary component linked to logging #4
Comments
This may be a bigger project for our entire hz stack rather than just hz-core, since we have discussed wanting this to be part of a bigger logging configuration that we can use for new projects. See https://github.com/hzdg/dev-team/issues/9. |
I think we can break it down on two things then - have a component that is responsible for reporting errors to sentry(it could be used in data fetching apis, for example) and another part will go to our cli and be responsible for automated setup of sentry for the project. What do you think? |
On the component side, maybe we can build something that is sentry-agnostic and pluggable, like:
In this kind of setup, the report function might need its own spec, like:
With this kind of architecture, we could then create a Questions
|
Wondering if this can also be linked with the e2e thing @toastcrunch is building with cypress. |
found an example of crash reporting using cypress.io+sentry.io https://glebbahmutov.com/blog/connecting-crash-reporting-with-end-to-end-tests/ |
Would be linked to Sentry.
https://sentry.io/for/react/
The text was updated successfully, but these errors were encountered: