处理连接超时(fix #7)
This commit is contained in:
parent
3933226485
commit
af714aa1f7
@ -172,7 +172,7 @@ class BLiveClient:
|
||||
|
||||
except asyncio.CancelledError:
|
||||
break
|
||||
except aiohttp.ClientConnectorError:
|
||||
except (aiohttp.ClientConnectorError, asyncio.TimeoutError):
|
||||
# 重连
|
||||
logger.warning('掉线重连中')
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user