فهرست منبع

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

Tienson Qin 5 ماه پیش
والد
کامیت
79000a0c0d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      deps/outliner/src/logseq/outliner/core.cljs

+ 1 - 1
deps/outliner/src/logseq/outliner/core.cljs

@@ -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]