chore: use ex-message instead of .-message to deal with cljs errors

This commit is contained in:
Tienson Qin
2025-08-20 20:25:17 +08:00
parent 4824a48e25
commit 79000a0c0d

View File

@@ -1069,7 +1069,7 @@
(ldb/transact! (second args) (:tx-data result) tx-meta)))
result)
(catch :default e
(when-not (= "not-allowed-move-block-page" (.-message e))
(when-not (= "not-allowed-move-block-page" (ex-message e))
(throw e)))))
(let [f (fn [repo conn date-formatter block opts]