error is of unknown structure

This commit is contained in:
softprops 2021-08-09 00:20:24 -04:00
parent c1b107442c
commit 8988630456
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: ${
error.status
}\n${JSON.stringify(
Object.keys(error.response)
Object.keys(error.response.data)
)}\nretrying... (${maxRetries - 1} retries remaining)`
);
return release(config, releaser, maxRetries - 1);