### Environment Any ### Steps to Reproduce Use callbacks and throw an exception in there. Some are caught, some are not. Varies between callbacks and SDKs. ### Expected Result Exceptions should be caught and we should downgrade gracefully (throw away an event, don't enable the SDK, etc). ### Actual Result Exceptions are not caught and may for example crash an app. Linked issues: - [x] [Java](https://github.com/getsentry/sentry-java/issues/2123) - [X] [Dart/Flutter](https://github.com/getsentry/sentry-dart/pull/990) - [x] [React Native](https://github.com/getsentry/sentry-react-native/issues/2499) - [x] Cocoa
Environment
Any
Steps to Reproduce
Use callbacks and throw an exception in there. Some are caught, some are not. Varies between callbacks and SDKs.
Expected Result
Exceptions should be caught and we should downgrade gracefully (throw away an event, don't enable the SDK, etc).
Actual Result
Exceptions are not caught and may for example crash an app.
Linked issues: