fix: correct logging message format in hub_prefetch.py for better clarity during prefetch attempts
This commit is contained in:
1 parent
617c6ca55f
commit
cb08af976b
1 file changed
+1
-2
@@ -359,8 +359,7 @@ def prefetch_subfolders(
|
||||
if attempt < _PREFETCH_MAX_ATTEMPTS:
|
||||
backoff = _PREFETCH_BACKOFF_BASE_S * attempt
|
||||
logger.warning(
|
||||
"Hub prefetch for repo '%s' subfolders %s failed on attempt "
|
||||
"%d/%d (%s: %s); retrying in %.1fs",
|
||||
"Hub prefetch for repo '%s' subfolders %s failed on attempt %d/%d (%s: %s); retrying in %.1fs",
|
||||
model,
|
||||
subfolders,
|
||||
attempt,
|
||||
|
||||
Reference in new issue
Block a user