Add logging to download-progress exception handler
This commit is contained in:
parent
2642f6d21d
commit
3a5d751f19
1 changed files with 2 additions and 1 deletions
|
|
@ -752,7 +752,8 @@ async def get_download_progress(
|
|||
"expected_bytes": expected_bytes,
|
||||
"progress": round(progress, 3),
|
||||
}
|
||||
except Exception:
|
||||
except Exception as e:
|
||||
logger.warning(f"Error checking download progress for {repo_id}: {e}")
|
||||
return _empty
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue