mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 22:54:48 +00:00
enhance: importer displays one notification about ignored files
rather than one notification per file. Also ignore pdf highlight pages as user graphs shouldn't fail hard on features that aren't imported yet. This allowed the user graph in https://github.com/logseq/db-test/issues/191 to import without errors
This commit is contained in:
2
deps/graph-parser/script/db_import.cljs
vendored
2
deps/graph-parser/script/db_import.cljs
vendored
@@ -172,6 +172,8 @@
|
||||
|
||||
(when-let [ignored-props (seq @(:ignored-properties import-state))]
|
||||
(println "Ignored properties:" (pr-str ignored-props)))
|
||||
(when-let [ignored-files (seq @(:ignored-files import-state))]
|
||||
(println (count ignored-files) "ignored file(s):" (pr-str (vec ignored-files))))
|
||||
(when (:verbose options') (println "Transacted" (count (d/datoms @conn :eavt)) "datoms"))
|
||||
(println "Created graph" (str db-name "!")))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user