|
@@ -548,6 +548,7 @@ public class RNFetchBlobFS {
|
548
|
548
|
File source = new File(src);
|
549
|
549
|
if(!source.exists()) {
|
550
|
550
|
promise.reject("RNFetchBlob.slice error", "source file : " + src + " not exists");
|
|
551
|
+ return;
|
551
|
552
|
}
|
552
|
553
|
long size = source.length();
|
553
|
554
|
long max = Math.min(size, end);
|