Sinu Varghese
Sinu Varghese

Reputation: 800

HockeyApp SDK - Logging Caught Exceptions in iOS

Is there a way to send caught exceptions in iOS ? I could implement it in Android using ExceptionHandler.saveException API in the HockeyApp SDK. What is the equivalent API in iOS ?

@try {
   // lines of code which can cause an exception
}
@catch (NSException *exception) {
   NSLog(@"%@", exception.reason);
   // report to HockeyApp 
}

Upvotes: 0

Views: 950

Answers (1)

Kerni
Kerni

Reputation: 15339

The HockeySDK-iOS does not support this, as I already answered to your support requests on HockeyApp.

You need to modify the SDK and interact with PLCrashReporter to make this work. We have no plans to implement this ourselves at the moment.

Upvotes: 1

Related Questions