mirror of https://github.com/logseq/logseq
use console.error instead
parent
82ab39e0fe
commit
78592ced5d
|
@ -11,7 +11,8 @@
|
||||||
|
|
||||||
(defn p-handle
|
(defn p-handle
|
||||||
([p ok-handler]
|
([p ok-handler]
|
||||||
(p-handle p ok-handler (fn [error] (prn "p-handle error: " error))))
|
(p-handle p ok-handler (fn [error]
|
||||||
|
(js/console.error error))))
|
||||||
([p ok-handler error-handler]
|
([p ok-handler error-handler]
|
||||||
(-> p
|
(-> p
|
||||||
(p/then (fn [result]
|
(p/then (fn [result]
|
||||||
|
|
Loading…
Reference in New Issue