forked from mirrors/action-gh-release
more error info
This commit is contained in:
parent
26941a6e6b
commit
21e9098c3b
2 changed files with 3 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -291,7 +291,8 @@ export const release = async (
|
||||||
console.log(
|
console.log(
|
||||||
`⚠️ GitHub release failed with status: ${
|
`⚠️ GitHub release failed with status: ${
|
||||||
error.status
|
error.status
|
||||||
},retrying... (${maxRetries - 1} retries remaining)`
|
}\n${JSON.stringify(error.errors)}\nretrying... (${maxRetries -
|
||||||
|
1} retries remaining)`
|
||||||
);
|
);
|
||||||
return release(config, releaser, maxRetries - 1);
|
return release(config, releaser, maxRetries - 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue