sentry-cocoa
sentry-cocoa copied to clipboard
Exceptions from `_crashOnException` should be fatal
Description
NSExceptions captured with _crashOnException should be marked as fatal as indicated by @philipphofmann at https://github.com/getsentry/sentry-cocoa/pull/5306/files#r2115252862
We should also consider marking sessions as crashed for events stemming from _crashOnException and ensure that enablePersistingTracesWhenCrashing works with _crashOnException.
From Cocoa Sync 06/18:
This doesn't need to be a breaking change, but we need to clearly state it in the Changelog that this affects release health. As beforeSend in the client is called after the session is marked as crashed in the hub.