This commit is contained in:
yumoqing 2025-04-18 17:42:00 +08:00
parent 0fb8951b22
commit eb6f94529d

View File

@ -137,7 +137,7 @@ class HttpClient:
headers=headers) headers=headers)
if resp.status==200: if resp.status==200:
return await self.handleResp(url, resp, response_type, stream_func=stream_func) return await self.handleResp(url, resp, response_type, stream_func=stream_func)
msg = f'http error({resp.status}, {url=},{params=}, {data=}, {jd=}, {headers=}, {kw=})' msg = f'http error({resp.status}, {url=},{params=}, {data=}, {jd=})'
exception(msg) exception(msg)
raise HttpError(resp.status, msg) raise HttpError(resp.status, msg)