1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-10 13:28:02 -05:00

Make sure to debug log network errors

This commit is contained in:
Reinhard Pointner 2017-02-12 21:54:00 +08:00
parent 2946dae8c6
commit 74ead4e36c

View File

@ -128,7 +128,7 @@ public class CachedResource<K, R> implements Resource<R> {
throw e;
}
debug.finest(format("Fetch failed: Try again in %d seconds (%d more) => %s", retryWaitTime.getSeconds(), retryCount, e));
debug.warning(format("Fetch failed: Try again in %d seconds (%d more) => %s", retryWaitTime.getSeconds(), retryCount, e));
Thread.sleep(retryWaitTime.toMillis());
return retry(callable, retryCount - 1, retryWaitTime.multipliedBy(2));
}