We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37394a2 commit 244c51fCopy full SHA for 244c51f
src/yutto/utils/fetcher.py
@@ -236,6 +236,11 @@ async def download_file_with_offset(
236
error_type = e.__class__.__name__
237
Logger.warning(f"文件 {file_buffer.file_path} 下载出错({error_type}),尝试重新连接...")
238
Logger.debug(f"超时链接:{url}")
239
+ except ValueError as e:
240
+ # 由于 httpx 经常出现此问题,暂时捕获该问题
241
+ if "semaphore released too many times" not in str(e):
242
+ raise e
243
+ Logger.warning(f"文件 {file_buffer.file_path} 下载出错({e}),尝试重新连接...")
244
245
246
def create_client(
0 commit comments