处理连接超时(fix #7)

This commit is contained in:
John Smith 2019-04-21 12:21:12 +08:00
parent 3933226485
commit af714aa1f7

View File

@ -172,7 +172,7 @@ class BLiveClient:
except asyncio.CancelledError:
break
except aiohttp.ClientConnectorError:
except (aiohttp.ClientConnectorError, asyncio.TimeoutError):
# 重连
logger.warning('掉线重连中')
try: