Commit 5281796d authored by Laurin Quast's avatar Laurin Quast
Browse files

Fix error handling

parent 4021996e
Loading
Loading
Loading
Loading
+1 −1
Changes for ios/RCTVideoCache.m: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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()];