react-native-update 10.29.6 → 10.29.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -542,7 +542,15 @@ RCT_EXPORT_METHOD(markSuccess:(RCTPromiseResolveBlock)resolve
542
542
  callback([self errorWithMessage:ERROR_HDIFFPATCH]);
543
543
  }
544
544
  };
545
- [_fileManager hdiffFileAtPath:bundlePatch fromOrigin:bundleOrigin toDestination:destination completionHandler:completionHandler];
545
+
546
+ @try {
547
+ [_fileManager hdiffFileAtPath:bundlePatch fromOrigin:bundleOrigin toDestination:destination completionHandler:completionHandler];
548
+ }
549
+ @catch (NSException *exception) {
550
+ NSLog(@"Pushy _dopatch error: exception occurred during hdiffFileAtPath: %@, reason: %@",
551
+ exception.name, exception.reason);
552
+ callback([self errorWithMessage:ERROR_HDIFFPATCH]);
553
+ }
546
554
  }
547
555
 
548
556
  - (void)patch:(NSString *)hash fromBundle:(NSString *)bundleOrigin source:(NSString *)sourceOrigin callback:(void (^)(NSError *error))callback
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-update",
3
- "version": "10.29.6",
3
+ "version": "10.29.7",
4
4
  "description": "react-native hot update",
5
5
  "main": "src/index",
6
6
  "scripts": {