bugfix
This commit is contained in:
parent
9581c2a8b3
commit
064f82dec6
@ -160,10 +160,10 @@ class StreamHttpClient:
|
||||
async for chunk in response.content.iter_chunked(chunk_size):
|
||||
yield chunk
|
||||
except aiohttp.ClientResponseError as e:
|
||||
debug(f'❌ HTTP {response.status}: {response.reason}, {response.text()}"
|
||||
debug(f"❌ HTTP {response.status}: {response.reason}, {response.text()}")
|
||||
raise e
|
||||
except Exception as e:
|
||||
debug(f'❌ HTTP {response.status}: {response.reason}"
|
||||
debug(f"❌ HTTP {response.status}: {response.reason}")
|
||||
raise e
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user