appsignal-javascript icon indicating copy to clipboard operation
appsignal-javascript copied to clipboard

Additional info in React errors

Open luismiramirez opened this issue 2 years ago • 0 comments

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

luismiramirez avatar May 12 '22 06:05 luismiramirez