mirror of https://github.com/logseq/logseq
Remove debugging
parent
cea1f37a23
commit
44ed3c92af
|
@ -328,13 +328,11 @@
|
||||||
(git-handler/set-latest-commit-if-exists! repo-url)
|
(git-handler/set-latest-commit-if-exists! repo-url)
|
||||||
(state/clear-changed-files! repo-url))
|
(state/clear-changed-files! repo-url))
|
||||||
(fn [error]
|
(fn [error]
|
||||||
(prn {:error error})
|
|
||||||
(if (and (string? error)
|
(if (and (string? error)
|
||||||
(= error "Failed to fetch"))
|
(= error "Failed to fetch"))
|
||||||
(println "Failed to fetch")
|
(println "Failed to fetch")
|
||||||
(do
|
(do
|
||||||
(println "Failed to push")
|
(println "Failed to push")
|
||||||
(js/console.dir error)
|
|
||||||
(git-handler/set-git-status! repo-url :push-failed)
|
(git-handler/set-git-status! repo-url :push-failed)
|
||||||
(git-handler/set-git-error! repo-url error)
|
(git-handler/set-git-error! repo-url error)
|
||||||
(notification/show!
|
(notification/show!
|
||||||
|
|
Loading…
Reference in New Issue