Make sure to debug log network errors
This commit is contained in:
parent
2946dae8c6
commit
74ead4e36c
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue