You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rejecter([NSErrorerrorWithDomain:ErrorDomain code:(500) userInfo:@{NSLocalizedDescriptionKey: [NSStringstringWithFormat:@"Can not get JS Version"]}]);
77
+
rejecter(@"500", @"Can not get JS Version", [NSErrorerrorWithDomain:ErrorDomain code:(500) userInfo:@{NSLocalizedDescriptionKey: [NSStringstringWithFormat:@"Can not get JS Version"]}]);
rejecter([NSErrorerrorWithDomain:ErrorDomain code:(500) userInfo:@{NSLocalizedDescriptionKey: [NSStringstringWithFormat:@"Can not get JS Version"]}]);
106
+
rejecter(@"500", @"Can not get JS Version", [NSErrorerrorWithDomain:ErrorDomain code:(500) userInfo:@{NSLocalizedDescriptionKey: [NSStringstringWithFormat:@"Can not get JS Version"]}]);
rejecter(@"500", [@"Download error! please check your server:%@"stringByAppendingString:request.URL.absoluteString], error);
137
137
return;
138
138
}
139
139
@@ -146,21 +146,21 @@ - (void)dealloc
146
146
RCTLogInfo(@"Update Js Code success");
147
147
resolver(remoteJsVersion);
148
148
} else {
149
-
rejecter(ioError);
149
+
rejecter(@"500", [NSStringstringWithFormat:@"Copies the item at the %@ to %@ failure", [location resourceSpecifier], [ReactVersion pathForVersion:remoteJsVersion]], ioError);
150
150
}
151
151
152
152
}];
153
153
[downloadTask resume];
154
154
155
155
} else {
156
-
rejecter([NSErrorerrorWithDomain:ErrorDomain code:(500) userInfo:@{NSLocalizedDescriptionKey: @"don't need update"}]);
156
+
rejecter(@"500", @"don't need update", [NSErrorerrorWithDomain:ErrorDomain code:(500) userInfo:@{NSLocalizedDescriptionKey: @"don't need update"}]);
0 commit comments