From 5e442433e5bde03ff5800a6c87ea1e8aaf08d3f6 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 27 Mar 2025 12:48:19 +0800 Subject: [PATCH] =?UTF-8?q?fix=20115=E5=88=97=E8=A1=A8=E5=87=BA=E9=94=99?= =?UTF-8?q?=E6=97=B6=E6=8A=9B=E5=87=BA=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/modules/filemanager/storages/u115.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/filemanager/storages/u115.py b/app/modules/filemanager/storages/u115.py index ea5f4087..4ade753e 100644 --- a/app/modules/filemanager/storages/u115.py +++ b/app/modules/filemanager/storages/u115.py @@ -351,7 +351,7 @@ class U115Pan(StorageBase, metaclass=Singleton): params={"cid": cid, "limit": 1000, "offset": offset, "cur": True, "show_dir": 1} ) if not resp: - break + raise FileNotFoundError(f"【115】{fileitem.path} 检索出错!") for item in resp: # 更新缓存 path = f"{fileitem.path}{item['fn']}"