mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
chore: use ex-message instead of .-message to deal with cljs errors
This commit is contained in:
2
deps/outliner/src/logseq/outliner/core.cljs
vendored
2
deps/outliner/src/logseq/outliner/core.cljs
vendored
@@ -1069,7 +1069,7 @@
|
|||||||
(ldb/transact! (second args) (:tx-data result) tx-meta)))
|
(ldb/transact! (second args) (:tx-data result) tx-meta)))
|
||||||
result)
|
result)
|
||||||
(catch :default e
|
(catch :default e
|
||||||
(when-not (= "not-allowed-move-block-page" (.-message e))
|
(when-not (= "not-allowed-move-block-page" (ex-message e))
|
||||||
(throw e)))))
|
(throw e)))))
|
||||||
|
|
||||||
(let [f (fn [repo conn date-formatter block opts]
|
(let [f (fn [repo conn date-formatter block opts]
|
||||||
|
|||||||
Reference in New Issue
Block a user