From 08c13ddd0bffd2fc08282afccc73980bdbbdab0d Mon Sep 17 00:00:00 2001 From: 苏向夜 Date: Thu, 18 Jan 2024 14:31:04 +0800 Subject: :sparkles: fix(test): fix test --- src/ipm/utils/freeze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ipm/utils/freeze.py b/src/ipm/utils/freeze.py index ef02473..5c6951c 100644 --- a/src/ipm/utils/freeze.py +++ b/src/ipm/utils/freeze.py @@ -53,7 +53,7 @@ def extract_ipk( hash_path = ifp_path.parent / (ifp_path.name + ".hash") if not hash_path.exists(): - raise VerifyFailed("哈希文件不存在!") + raise VerifyFailed(f"哈希文件[{hash_path}]不存在!") if not ifp_verify(ifp_path, hash_path.read_bytes()): raise VerifyFailed("文件完整性验证失败!") -- cgit v1.2.3-70-g09d2