Fix error handling

This commit is contained in:
Laurin Quast 2018-03-05 17:37:15 +01:00
parent 4021996e90
commit 5281796d9d

View File

@ -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()];