mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
fix(rtc): add ex-ws-already-disconnected exception
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user