mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 16:36:27 +00:00
enhance(cli): export-edn prints unexpected errors
especially when an invalid export-type is given
This commit is contained in:
@@ -283,7 +283,7 @@
|
||||
:on-click #(do (reset! *export-block-type :edn)
|
||||
(p/let [result (<export-edn-helper top-level-uuids export-type)
|
||||
pull-data (with-out-str (pprint/pprint result))]
|
||||
(when-not (= :export-edn-error result)
|
||||
(when-not (:export-edn-error result)
|
||||
(reset! *content pull-data))))))])
|
||||
(if (= :png tp)
|
||||
[:div.flex.items-center.justify-center.relative
|
||||
|
||||
Reference in New Issue
Block a user