bugfix
This commit is contained in:
parent
0fb8951b22
commit
eb6f94529d
@ -137,7 +137,7 @@ class HttpClient:
|
||||
headers=headers)
|
||||
if resp.status==200:
|
||||
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)
|
||||
raise HttpError(resp.status, msg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user