From 18b9333a80d2b841684bd4b781c56bad48237c18 Mon Sep 17 00:00:00 2001 From: hkc Date: Sun, 7 Jul 2024 19:43:37 +0300 Subject: [PATCH] Removed redundant message --- async-bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/async-bot.py b/async-bot.py index f1c5a9a..5d27064 100644 --- a/async-bot.py +++ b/async-bot.py @@ -258,8 +258,8 @@ class AsyncBotManager: self._active.add(bot_index) try: await sio.receive(0.1) - except socketio.exceptions.TimeoutError: - print(f"read failed in {bot_index}") + except TimeoutError: + pass async def __aenter__(self): self._listener_task = asyncio.create_task(self.listener())