From 6424dab738dcc02a40ed8834158e90fd87cc432e Mon Sep 17 00:00:00 2001 From: Philippe Auriach Date: Wed, 26 Jul 2023 18:11:39 +0200 Subject: [PATCH] Add more complete log using stringify --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 144e45fc2..a56915699 100644 --- a/index.js +++ b/index.js @@ -6,6 +6,8 @@ async function run() { await action.action(); } catch (error) { console.error(error); + console.error("full error object = " + JSON.stringify(error)); + if (error.message.includes("Resource not accessible by integration")) { console.info( `⚠️💡👉 This error might be due to the Github repository settings: make sure that the checkbox "Read and write permissions" is checked here under "Workflows":