git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cache save/load workflow
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
utils
/
Downloader.java
diff --git
a/src/be/nikiroo/utils/Downloader.java
b/src/be/nikiroo/utils/Downloader.java
index b1ac56c0508300e6fee02eada0affd499117b7a8..c9a319aa0eb725159287562ae76718fc531c8097 100644
(file)
--- a/
src/be/nikiroo/utils/Downloader.java
+++ b/
src/be/nikiroo/utils/Downloader.java
@@
-397,6
+397,11
@@
public class Downloader {
}
}
+ if (in == null) {
+ throw new IOException(
+ "Cannot retrieve the file after storing it in the cache (??)");
+ }
+
return in;
} catch (IOException e) {
throw new IOException(String.format(