Skip to content

Commit

Permalink
Add more complete log using stringify (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippeauriach committed Aug 25, 2023
1 parent ae3ca79 commit 82f0ce1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -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":
Expand Down

0 comments on commit 82f0ce1

Please sign in to comment.