error is of unknown structure

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