3 ms·
But then, throwing exceptions instead of just crashing the app can also let tools like crashlytics get them and send them to a web service before the app really
by bsaul 11y ago
But then, throwing exceptions instead of just crashing the app can also let tools like crashlytics get them and send them to a web service before the app really terminates.
- mikeash 11y agoThrowing an exception isn't really the problem, the problem is the catch-all exception handler in the event loop that just logs them and continues running the app. If that was gone, and NSAssert threw exceptions that by default crashed the app, that would be pretty much fine.
- astrange 11y agoYou can always catch regular crashes in your app through Mach exceptions, or by scanning the crash logs directory for your app.