NSUnhandledException implementation
I use a couple of different services for recording unhandled exceptions and I'd like to manually call [Airbrake logException:]. Do I need to register for NSUnhandledException myself before starting Airbrake or after?
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by calebdavenport on 25 Dec, 2011 04:31 PM
Before you log any exceptions to our notifier you have to initialize it. If you are running the most recent version, there is a
startNotifierWithAPIKey:environmentName:useSSL:delegate:installExceptionHandler:installSignalHandler:method that allows you to control which handlers are installed. Simply passNOto both the signal and exception handlers and then you can log exceptions manually. Otherwise, you would have to register your own exception handler after initializing our notifier so that we don't override yours.calebdavenport closed this discussion on 25 Dec, 2011 04:31 PM.