sentry-react-native
sentry-react-native copied to clipboard
Add support for `nativeStackAndroid` for user rejected Android Promises
Description
- Relates to https://github.com/getsentry/sentry-react-native/pull/3201
Errors from rejected promises by calling Promise.reject("Code", "Message", Throwable, WritableMap) contain JVM stack trace under nativeStackAndroid. Currently, our linked errors integration doesn't support this key.
https://github.com/facebook/react-native/blob/ba06a6e3d46e6a96a94c623de0990cb6826b652b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/PromiseImpl.java#L223