From 32c8ed8410a7492dd16dcbb6429299ae415a3a85 Mon Sep 17 00:00:00 2001 From: tommy-anderson Date: Thu, 16 Jun 2022 21:56:51 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20Output=20more=20logs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b401ac8..5dacf19 100644 --- a/index.js +++ b/index.js @@ -26,7 +26,7 @@ try { fetch(url, payload).then((response) => { // Response object https://developer.mozilla.org/en-US/docs/Web/API/Response if (!response.ok) { - console.log({response}) + console.log(JSON.stringify(response)) core.setFailed("POST returned something unexpected"); } });