mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-06-02 11:06:11 +00:00
Fix error handling
This commit is contained in:
+1
-1
@@ -63,9 +63,9 @@
|
||||
if (response.error) {
|
||||
#ifdef DEBUG
|
||||
NSLog(@"An error occured while saving the video into the cache: %@", [response.error localizedDescription]);
|
||||
#endif
|
||||
handler(NO);
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
handler(YES);
|
||||
} onQueue:dispatch_get_main_queue()];
|
||||
|
||||
Reference in New Issue
Block a user