aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/bot.py b/bot.py
index c912ad5..02dd4e1 100644
--- a/bot.py
+++ b/bot.py
@@ -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: