I have configured @sentry/react-native
in a newly created expo bare project, and while I’m able to log issues using Sentry.captureException , it looks like unhandled errors coming from Promises are not logged at all.
For example:
new Promise(() => { throw new Error('This error will not be logged by Sentry!')});
Is there something obvious that I’m missing? I have configured the project using sentry-wizard
and have checked mutiple times the generated files. All looks good, but still promise rejections are not logged.