mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
Use catch :default for default error handling in cljs
This is considered normal practice for cljs. See https://clojure.atlassian.net/browse/CLJS-661 for when it was introduced and background on it
This commit is contained in:
committed by
Tienson Qin
parent
ae114afbd8
commit
2ce6dfad41
@@ -68,6 +68,6 @@
|
||||
|
||||
:else
|
||||
pos))
|
||||
(catch js/Error e
|
||||
(catch :default e
|
||||
(log/error :diff/find-position {:error e})
|
||||
(count markup)))))
|
||||
|
||||
Reference in New Issue
Block a user