bugfix
This commit is contained in:
parent
a06fd181ad
commit
e4f344940c
@ -161,10 +161,10 @@ class StreamHttpClient:
|
|||||||
yield chunk
|
yield chunk
|
||||||
except aiohttp.ClientResponseError as e:
|
except aiohttp.ClientResponseError as e:
|
||||||
txt = await response.text()
|
txt = await response.text()
|
||||||
debug(f"❌ HTTP {response.status}: {response.reason}, {txt}")
|
debug(f"❌ HTTP {method}, {url}, {response.status}: {response.reason}, {txt}")
|
||||||
raise e
|
raise e
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
debug(f"❌ HTTP {response.status}: {response.reason}")
|
debug(f"❌ HTTP {method}, {url}, {response.status}: {response.reason}")
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user