diff --git a/src/melobot/protocols/onebot/v11/io/forward.py b/src/melobot/protocols/onebot/v11/io/forward.py index d19397f..093c50e 100644 --- a/src/melobot/protocols/onebot/v11/io/forward.py +++ b/src/melobot/protocols/onebot/v11/io/forward.py @@ -131,6 +131,9 @@ async def open(self) -> None: ) break + except asyncio.CancelledError: + raise + except BaseException as e: self.logger.warning( f"连接建立失败,{self.retry_delay}s 后自动重试。错误:{e}"