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

Additional info in React errors #568

Open
luismiramirez opened this issue May 12, 2022 · 0 comments
Open

Additional info in React errors #568

luismiramirez opened this issue May 12, 2022 · 0 comments

Comments

@luismiramirez
Copy link
Member

luismiramirez commented May 12, 2022

As noted by @maltesa in this comment, React's error boundaries pass additional error info that contains additional data such as the error stack trace.

We already get the stack traces from error objects with getStacktrace(), but it's worth researching the contents of this variable and add the relevant bits of information contained in that argument to enrich React's error data.

Based on the official docs, this should be available only from React > 16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant