Fix error handling
This commit is contained in:
parent
4021996e90
commit
5281796d9d
@ -63,9 +63,9 @@
|
|||||||
if (response.error) {
|
if (response.error) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
NSLog(@"An error occured while saving the video into the cache: %@", [response.error localizedDescription]);
|
NSLog(@"An error occured while saving the video into the cache: %@", [response.error localizedDescription]);
|
||||||
|
#endif
|
||||||
handler(NO);
|
handler(NO);
|
||||||
return;
|
return;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
handler(YES);
|
handler(YES);
|
||||||
} onQueue:dispatch_get_main_queue()];
|
} onQueue:dispatch_get_main_queue()];
|
||||||
|
Loading…
Reference in New Issue
Block a user