fix: catch AioRpcError
Some checks failed
/ Build Windows (push) Has been cancelled

This commit is contained in:
世界观察日志
2025-10-19 15:10:24 +08:00
parent 683882c41e
commit 1d1f2f3b65

View File

@@ -43,7 +43,7 @@ class InteractiveShell:
it(Config).instance.url = "127.0.0.1:32767"
it(Config).instance.secure = False
loop.run_until_complete(it(WrapperManager).init(it(Config).instance.url, it(Config).instance.secure))
except grpc.aio.AioRpcError:
except grpc.aio._call.AioRpcError:
it(GlobalLogger).logger.error("Unable to connect to the local wrapper-manager, please try to extend the timeout")
sys.exit()
else: