-
-
Notifications
You must be signed in to change notification settings - Fork 355
Description
Platform:
- iOS
SDK:
-
@sentry/react-native(>= 1.0.0)
SDK version: "@sentry/react-native": "^1.7.2",
react-native version: "react-native": "^0.63.2",
Are you using Expo?
- Yes
- No
Are you using sentry.io or on-premise?
- sentry.io (SaaS)
- on-premise
If you are using sentry.io, please post a link to your issue so we can take a look:
No issue was created
Configuration:
(@sentry/react-native)
Sentry.init({
dsn: 'https://...@sentry.io/...'
// no extra options
});
I have following issue:
Normal exceptions are logged to Sentry.io just fine, but unhandled promises are not logged at all. My understanding is that this should happen by default. I do get a yellow box showing the unhandled exception but it seems that Sentry never sees it.
This repros on both Android and iOS.
Steps to reproduce:
- Install sentry with minimal config
- Generate an unhandled promise rejection
Actual result:
Yellow box appears but no error logged to sentry.io
Expected result:
Unhandled promise rejections are logged to sentry.io
