This commit is contained in:
david committed 2026-09-08 02:29:29 -03:00
1 parent 64af28f820
commit fec259bb5c
2 files changed
+123 -124

No files matched your search

-3
View File
@@ -120,9 +120,6 @@ async def call_main(payload: str) -> tuple[bool, str]:
if "error" in data:
return False, data["error"]
return True, data["ok"]
except websockets.exceptions.ConnectionClosedOK:
_main_ws = None
return False, f"[{now_str()}] websocket closed cleanly (no reply)"
except Exception as e:
_main_ws = None
if attempt == 0: