From 4455ac13e93c596c22e0860a814dc08874f60d58 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 16 Oct 2024 08:12:34 +0800 Subject: [PATCH] fix log --- app/helper/cookiecloud.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/helper/cookiecloud.py b/app/helper/cookiecloud.py index 0be8be5ea..a10a04991 100644 --- a/app/helper/cookiecloud.py +++ b/app/helper/cookiecloud.py @@ -2,6 +2,7 @@ from typing import Any, Dict, Tuple, Optional from app.core.config import settings +from app.log import logger from app.utils.crypto import CryptoJsUtils, HashUtils from app.utils.http import RequestUtils from app.utils.string import StringUtils @@ -122,6 +123,7 @@ def __load_local_encrypt_data(self, uuid: str) -> Dict[str, Any]: file_path = self._local_path / f"{uuid}.json" # 检查文件是否存在 if not file_path.exists(): + logger.warn(f"本地CookieCloud文件不存在:{file_path}") return {} # 读取文件