File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -542,7 +542,15 @@ - (void)_dopatch:(NSString *)hash fromBundle:(NSString *)bundleOrigin source:(NS
542542 callback ([self errorWithMessage: ERROR_HDIFFPATCH]);
543543 }
544544 };
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+ }
546554}
547555
548556- (void )patch : (NSString *)hash fromBundle : (NSString *)bundleOrigin source : (NSString *)sourceOrigin callback : (void (^)(NSError *error))callback
Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-update" ,
3- "version" : " 10.29.6 " ,
3+ "version" : " 10.29.7 " ,
44 "description" : " react-native hot update" ,
55 "main" : " src/index" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments