From 22fd46189b3813980bd10dfc8070ee3a01e719e9 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Wed, 31 Jul 2024 15:24:33 +1200 Subject: [PATCH] fix(ci): return body --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index be0f166..bbf9639 100644 --- a/index.js +++ b/index.js @@ -32,6 +32,7 @@ async function updateBadge(body) { }); if (!response.ok) { + console.log("Returned: %j", response.body); console.log(`Fetching badge failed: ${console.log(util.inspect(response, false, null, true /* enable colors */))}`); if (response.status === 409) { // This means likely the badge already exists. Try to patch