error is of unknown structure

This commit is contained in:
softprops 2021-08-09 09:19:25 -04:00
parent 8988630456
commit e6268c631a
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -292,7 +292,7 @@ export const release = async (
`⚠️ GitHub release failed with status: ${ `⚠️ GitHub release failed with status: ${
error.status error.status
}\n${JSON.stringify( }\n${JSON.stringify(
Object.keys(error.response.data) error.response.data.errors
)}\nretrying... (${maxRetries - 1} retries remaining)` )}\nretrying... (${maxRetries - 1} retries remaining)`
); );
return release(config, releaser, maxRetries - 1); return release(config, releaser, maxRetries - 1);