bugfix
This commit is contained in:
parent
064f82dec6
commit
a06fd181ad
@ -160,7 +160,8 @@ class StreamHttpClient:
|
|||||||
async for chunk in response.content.iter_chunked(chunk_size):
|
async for chunk in response.content.iter_chunked(chunk_size):
|
||||||
yield chunk
|
yield chunk
|
||||||
except aiohttp.ClientResponseError as e:
|
except aiohttp.ClientResponseError as e:
|
||||||
debug(f"❌ HTTP {response.status}: {response.reason}, {response.text()}")
|
txt = await response.text()
|
||||||
|
debug(f"❌ HTTP {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 {response.status}: {response.reason}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user