fix(rtc): add ex-ws-already-disconnected exception

This commit is contained in:
rcmerci
2025-08-26 11:55:26 +08:00
parent 42c8d29d20
commit 8b5267e48e
3 changed files with 7 additions and 2 deletions

View File

@@ -16,7 +16,8 @@
(when (= :graph-not-exist (:type (:ex-data resp)))
(rtc-db/remove-rtc-data-in-conn! (worker-state/get-current-repo))
(worker-util/post-message :remote-graph-gone []))
(if-let [e ({:graph-not-exist r.ex/ex-remote-graph-not-exist
(if-let [e ({:ws-conn-already-disconnected r.ex/ex-ws-already-disconnected
:graph-not-exist r.ex/ex-remote-graph-not-exist
:graph-not-ready r.ex/ex-remote-graph-not-ready
:bad-request-body r.ex/ex-bad-request-body
:not-allowed r.ex/ex-not-allowed}