We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0be9e9d commit 83be80eCopy full SHA for 83be80e
pyasic/web/braiins_os/boser.py
@@ -89,7 +89,7 @@ async def multicommand(
89
for cmd in tasks:
90
try:
91
result[cmd] = await tasks[cmd]
92
- except (GRPCError, APIError):
+ except (GRPCError, APIError, ConnectionError):
93
pass
94
95
return result
@@ -121,7 +121,7 @@ async def send_command(
121
metadata = [("authorization", await self.auth())]
122
return (await endpoint(message, metadata=metadata)).to_pydict()
123
raise e
124
- except GRPCError as e:
+ except (GRPCError, ConnectionError) as e:
125
raise APIError(f"gRPC command failed - {endpoint}") from e
126
127
async def auth(self) -> str | None:
0 commit comments