From c5a321061b1e9e16062317cd5043cf1353f00510 Mon Sep 17 00:00:00 2001 From: Ayush Gaud Date: Thu, 16 Nov 2023 01:08:25 +0900 Subject: [PATCH] add more logs --- src/wrike_ist/core.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wrike_ist/core.cljs b/src/wrike_ist/core.cljs index 52723f1..da4df8d 100644 --- a/src/wrike_ist/core.cljs +++ b/src/wrike_ist/core.cljs @@ -65,11 +65,11 @@ check-valid-task-promise) (.then (fn [result] - (.info js/console (str "Main function success: " result))) + (.info js/console (str "Main function success: " result)) + (js/Promise.resolve result)) (.catch (fn [error] (.error js/console (str "Main function error: " error)) - (core/setFailed (.-message error))))))) + (js/Promise.reject error)))))) (recur (rest links)))) (js/console.log "No pull_request in payload")))) -