mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +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
@@ -45,7 +45,7 @@
|
||||
{}
|
||||
(let [[headers blocks] (-> content (parse-opml) (gp-util/json->clj))]
|
||||
[headers (gp-mldoc/collect-page-properties blocks config)]))
|
||||
(catch js/Error e
|
||||
(catch :default e
|
||||
(log/error :edn/convert-failed e)
|
||||
[])))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user