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 2b3b8bf commit fe395ec
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/wrike_ist/wrike.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,15 @@
(.log js/console (str "link-pr: PR link sent to task"))
(js/Promise.resolve)))
(.catch
#(js/Promise.reject (if (= % :present)
(str "link-pr: PR link already in comments")
%)))))))
#(if (= % :present)
(.log js/console (str "link-pr: PR link already in comments"))
(js/Promise.resolve %)))))))
(.then
(fn [_]
(.log js/console (str "check-valid-task-promise value: " check-valid-task-promise))
(js/Promise.all [check-valid-task-promise])))
(fn [_]
(js/Promise.all [check-valid-task-promise
(.then check-valid-task-promise
(fn [result]
(.log js/console (str "check-valid-task-promise value: " result))))])))
(.catch #(js/Promise.reject %)))))


Expand Down

0 comments on commit fe395ec

Please sign in to comment.