← back to Exo
improve log message in shard downloader
9ba61f3733ae2fa31cb821fcb585b5a4b179285b · 2026-01-30 10:27:31 +0000 · Evan
Files touched
M src/exo/download/impl_shard_downloader.py
Diff
commit 9ba61f3733ae2fa31cb821fcb585b5a4b179285b
Author: Evan <evanev7@gmail.com>
Date: Fri Jan 30 10:27:31 2026 +0000
improve log message in shard downloader
closes #1336
---
src/exo/download/impl_shard_downloader.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/exo/download/impl_shard_downloader.py b/src/exo/download/impl_shard_downloader.py
index 24f13afe..68c6fdcf 100644
--- a/src/exo/download/impl_shard_downloader.py
+++ b/src/exo/download/impl_shard_downloader.py
@@ -166,9 +166,8 @@ class ResumableShardDownloader(ShardDownloader):
for task in asyncio.as_completed(tasks):
try:
yield await task
- # TODO: except Exception
except Exception as e:
- logger.error("Error downloading shard:", e)
+ logger.warning(f"Error downloading shard: {type(e).__name__}")
async def get_shard_download_status_for_shard(
self, shard: ShardMetadata
← d9eca758 Add usage stats (#1333)
·
back to Exo
·
switch to ModelCard.load outside of download log (#1339) 46a14153 →