Skip to content

Commit 8988630

Browse files
committed
error is of unknown structure
1 parent c1b1074 commit 8988630

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export const release = async (
292292
`⚠️ GitHub release failed with status: ${
293293
error.status
294294
}\n${JSON.stringify(
295-
Object.keys(error.response)
295+
Object.keys(error.response.data)
296296
)}\nretrying... (${maxRetries - 1} retries remaining)`
297297
);
298298
return release(config, releaser, maxRetries - 1);

0 commit comments

Comments
 (0)