Closed billyvg closed 12 months ago
Allow callbackWrapper to attach an optional __source__ property to a caught exception. This will allow downstream errorHandlers to decide to re-throw an exception based on the source type.
callbackWrapper
__source__
Needed to address https://github.com/getsentry/sentry-javascript/issues/9170
Actually, we probably don't need this as we should just re-throw error in our Replay SDK.
Allow
callbackWrapper
to attach an optional__source__
property to a caught exception. This will allow downstream errorHandlers to decide to re-throw an exception based on the source type.Needed to address https://github.com/getsentry/sentry-javascript/issues/9170