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 281deeb commit 2b3b8bf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/wrike_ist/wrike.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
(fn [response]
(if-let [task (get-in (parse-body response) ["data" 0])]
(do
(.info js/console "find-task: Task found")
(.info js/console "")
(js/Promise.resolve task))
(do
(.error js/console "find-task: Task not found")
Expand Down Expand Up @@ -140,7 +140,8 @@
(str "link-pr: PR link already in comments")
%)))))))
(.then
(fn [_]
(fn [_]
(.log js/console (str "check-valid-task-promise value: " check-valid-task-promise))
(js/Promise.all [check-valid-task-promise])))
(.catch #(js/Promise.reject %)))))

Expand Down

0 comments on commit 2b3b8bf

Please sign in to comment.