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

feat: React ErrorBoundary support #133

Merged
merged 2 commits into from
Jun 13, 2024
Merged

feat: React ErrorBoundary support #133

merged 2 commits into from
Jun 13, 2024

Conversation

ernestii
Copy link
Contributor

@ernestii ernestii commented Jun 7, 2024

No description provided.

Copy link

changeset-bot bot commented Jun 7, 2024

🦋 Changeset detected

Latest commit: cc483f3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hyperdx/browser Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ernestii ernestii marked this pull request as ready for review June 12, 2024 22:25
To enable automatic error tracking with ErrorBoundary, simply attach the HyperDX error handler to the ErrorBoundary component.

```js
import ErrorBoundary from 'react-error-boundary';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious if we also want to export this component for people who don't have ErrorBoundary in their app yet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep I was thinking about that but that'd increase sdk size a lot

@kodiakhq kodiakhq bot merged commit 7e00faf into main Jun 13, 2024
3 checks passed
@kodiakhq kodiakhq bot deleted the ei/react branch June 13, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants