From 5281796d9da32537ca2c8828c0706d47930f342a Mon Sep 17 00:00:00 2001 From: Laurin Quast Date: Mon, 5 Mar 2018 17:37:15 +0100 Subject: [PATCH] Fix error handling --- ios/RCTVideoCache.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/RCTVideoCache.m b/ios/RCTVideoCache.m index 96cfea59..84aab904 100644 --- a/ios/RCTVideoCache.m +++ b/ios/RCTVideoCache.m @@ -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()];