Skip to content

Commit

Permalink
modified log for Sentry SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
aanorbel committed Jul 28, 2023
1 parent 4ae6d27 commit 531d1a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ooniprobe/Utility/ThirdPartyServices.m
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ + (void)recordError:(NSString*)title reason:(NSString*)reason userInfo:(NSDictio
NSError *error = [NSError errorWithDomain:title
code:-1001
userInfo:userInfo];
// TODO (aanorbel) Call to `SentrySDK` fails causing the app to crash.
// Still to properly investigate and fix.
@try {
[SentrySDK captureError:error];
}@catch(NSException *e) {

}@finally {
} @catch(NSException *e) {
NSLog(@"Failed reporting error");
}

Expand Down

0 comments on commit 531d1a8

Please sign in to comment.