File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,6 @@ + (BOOL)requiresMainQueueSetup
30
30
resolver:(RCTPromiseResolveBlock)resolve
31
31
rejecter:(RCTPromiseRejectBlock)reject) {
32
32
33
- if ([fingerprint isKindOfClass: NSNull .class]){
34
- fingerprint = nil ;
35
- }
36
-
37
- if ([userAttributes isKindOfClass: NSNull .class]){
38
- userAttributes = nil ;
39
- }
40
33
dispatch_queue_t queue = dispatch_get_global_queue (DISPATCH_QUEUE_PRIORITY_DEFAULT, 0ul );
41
34
dispatch_async (queue, ^{
42
35
[IBGCrashReporting cp_reportFatalCrashWithStackTrace: stackTrace];
@@ -48,6 +41,14 @@ + (BOOL)requiresMainQueueSetup
48
41
userAttributes:(nullable NSDictionary *)userAttributes fingerprint:(nullable NSString *)fingerprint nonFatalExceptionLevel:(IBGNonFatalLevel)nonFatalExceptionLevel
49
42
resolver:(RCTPromiseResolveBlock)resolve
50
43
rejecter:(RCTPromiseRejectBlock)reject) {
44
+
45
+ if ([fingerprint isKindOfClass: NSNull .class]){
46
+ fingerprint = nil ;
47
+ }
48
+
49
+ if ([userAttributes isKindOfClass: NSNull .class]){
50
+ userAttributes = nil ;
51
+ }
51
52
dispatch_queue_t queue = dispatch_get_global_queue (DISPATCH_QUEUE_PRIORITY_HIGH, 0ul );
52
53
dispatch_async (queue, ^{
53
54
[IBGCrashReporting cp_reportNonFatalCrashWithStackTrace: stackTrace level: nonFatalExceptionLevel groupingString: fingerprint userAttributes: userAttributes];
You can’t perform that action at this time.
0 commit comments