Skip to content

Commit

Permalink
add more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushgaud committed Nov 15, 2023
1 parent 83971c2 commit 7047162
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/wrike_ist/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,11 @@
;; else ignore
check-valid-task-promise)
(.then
(fn [& results]
(.info js/console (str "main: All promises resolved successfully. Results: " results))
(js/Promise.resolve results))
(fn [result]
(.info js/console (str "Main function success: " result)))
(.catch
(fn [error]
(.error js/console (str "main: Error in promise chain: " error))
(.error js/console (str "Main function error: " error))
(core/setFailed (.-message error)))))))
(recur (rest links))))
(js/console.log "No pull_request in payload"))))
Expand Down

0 comments on commit 7047162

Please sign in to comment.