解析业务消息被停止时不打印消息日志

This commit is contained in:
John Smith 2021-12-19 18:10:54 +08:00
parent cfda838e01
commit d8f7f6b782

View File

@ -540,6 +540,8 @@ class BLiveClient:
try:
body = json.loads(body.decode('utf-8'))
await self._handle_command(body)
except asyncio.CancelledError:
raise
except Exception:
logger.error('room=%d, body=%s', self.room_id, body)
raise