In its work, the application delegate places this function (note that this is not a method, this is a stand-alone function):
void uncaughtExceptionHandler(NSException *exception) {
[FlurryAPI logError:@"Uncaught" message:@"Crash!" exception:exception];
}
DidFinishLaunching *:
NSSetUncaughtExceptionHandler(&uncaughtExceptionHandler);