mirror of https://github.com/logseq/logseq
fix: convert error to string for instruments
parent
b0d26c055f
commit
32ddeaa3c8
|
@ -252,7 +252,7 @@
|
|||
(p/catch (fn [error]
|
||||
(state/pub-event! [:instrument {:type :write-file/failed
|
||||
:payload {:path path
|
||||
:error error}}])
|
||||
:error (str error)}}])
|
||||
(log/error :write-file/failed {:path path
|
||||
:content content
|
||||
:error error}))))))
|
||||
|
|
Loading…
Reference in New Issue