From c87df59996115d4439a5cc642ba166f1c1498861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=B0=8F=E9=BE=99?= <258392906@qq.com> Date: Tue, 9 Sep 2025 15:27:46 +0800 Subject: [PATCH] log client modify --- media_platform/xhs/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media_platform/xhs/client.py b/media_platform/xhs/client.py index f5bd02e..9df39c1 100644 --- a/media_platform/xhs/client.py +++ b/media_platform/xhs/client.py @@ -172,7 +172,7 @@ class XiaoHongShuClient(AbstractApiClient): httpx.HTTPError ) as exc: # some wrong when call httpx.request method, such as connection error, client error, server error or response status code is not 2xx utils.logger.error( - f"[DouYinClient.get_aweme_media] {exc.__class__.__name__} for {exc.request.url} - {exc}" + f"[XiaoHongShuClient.get_aweme_media] {exc.__class__.__name__} for {exc.request.url} - {exc}" ) # 保留原始异常类型名称,以便开发者调试 return None