getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.97k stars 1.57k forks source link

Add addition error data of cause #1968

Closed florianmutter closed 1 year ago

florianmutter commented 5 years ago

Package + Version

Version:

4.6.6

But also effects 5.0.0

Description

The cause of an error can be attached to an error and Sentry will display the causes stacktrace. It will not extract the additional data of the cause. This can be very useful information. It should extract the additional data of the cause as well (probably only to a certain depth).

I think this must happen somewhere around here: https://github.com/getsentry/sentry-javascript/blob/master/packages/integrations/src/extraerrordata.ts#L88

HazAT commented 5 years ago

We happily accept a PR for this :)