mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
enhance: add hls-file path in the error message
This commit is contained in:
@@ -811,7 +811,9 @@
|
||||
(fn [^js e]
|
||||
(js/console.error "[load hls error]" e)
|
||||
|
||||
(let [msg (str "Error: load initial highlights failed! \n" e)]
|
||||
(let [msg (str (util/format "Error: failed to load the highlights file: \"%s\". \n"
|
||||
(:hls-file pdf-current))
|
||||
e)]
|
||||
(notification/show! msg :error)
|
||||
(set-hls-state! {:loaded true :error e}))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user