mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Use static linkage for exception handler in iOS tester
This commit is contained in:
parent
d25722e3b5
commit
f93b735575
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ static NSString * const kKEY_ExceptionCallStack = @"UnhandledExceptionCallStack"
|
|||
static NSString * const kKEY_ExceptionScreenshot = @"UnhandledExceptionScreenshot";
|
||||
static NSString * const kKEY_ExceptionTimestamp = @"UnhandledExceptionTimestamp";
|
||||
|
||||
__unused void unhandledExceptionHandler(NSException *exception) {
|
||||
static void unhandledExceptionHandler(NSException *exception) {
|
||||
NSMutableDictionary *crashReport = [NSMutableDictionary dictionary];
|
||||
crashReport[kKEY_ExceptionName] = exception.name;
|
||||
crashReport[kKEY_ExceptionReason] = exception.reason;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue