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
1 changed files with 1 additions and 1 deletions

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));
}