mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 15:49:36 +08:00
error handling tweaks
This commit is contained in:
@@ -61,6 +61,7 @@ failCallback:(void (^)(NSError *err))failCallback {
|
||||
if (bytesLeft) {
|
||||
self.failCallback([self.outputFileStream streamError]);
|
||||
[self.outputFileStream close];
|
||||
[connection cancel];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user