Skip to content

Commit bf7a009

Browse files
authored
Merge pull request #717 from wisty/patch-1
log client modify
2 parents fa5f07e + c87df59 commit bf7a009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media_platform/xhs/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ async def get_note_media(self, url: str) -> Union[bytes, None]:
172172
httpx.HTTPError
173173
) as exc: # some wrong when call httpx.request method, such as connection error, client error, server error or response status code is not 2xx
174174
utils.logger.error(
175-
f"[DouYinClient.get_aweme_media] {exc.__class__.__name__} for {exc.request.url} - {exc}"
175+
f"[XiaoHongShuClient.get_aweme_media] {exc.__class__.__name__} for {exc.request.url} - {exc}"
176176
) # 保留原始异常类型名称,以便开发者调试
177177
return None
178178

0 commit comments

Comments
 (0)