Sentry recommends failing on uncaught exceptions: https://docs.sentry.io/platforms/apple/guides/macos/#uncaught-nsexceptions
SentrySDK.start { options in
options.enableUncaughtNSExceptionReporting = true
...
}
It would be great if we could make this configurable in AutomatticTracksiOS. Maybe this is a good time to expose a callback that allows us to mutate the Sentry's options object at the very end of SentrySDK.start, so we don't need to wrap every little possible configuration, e.g.
SentrySDK.start { options in
...
options.onCrashedLastRun = self.dataProvider.onCrashedLastRun
if let modifier = self.optionsModifier { // ((Options) -> Void)?
modifier(options)
}
}