error is of unknown structure

This commit is contained in:
softprops committed 2021-08-09 09:19:25 -04:00
1 parent 8988630456
commit e6268c631a
2 files changed
+2 -2

No files matched your search

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