Remove debugging

pull/645/head
Tienson Qin 2020-08-28 15:09:44 +08:00
parent cea1f37a23
commit 44ed3c92af
1 changed files with 0 additions and 2 deletions

View File

@ -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!