error is of unknown structure
This commit is contained in:
parent
4c8c431191
commit
c1b107442c
2 changed files with 4 additions and 3 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -291,8 +291,9 @@ export const release = async (
|
|||
console.log(
|
||||
`⚠️ GitHub release failed with status: ${
|
||||
error.status
|
||||
}\n${JSON.stringify(Object.keys(error))}\nretrying... (${maxRetries -
|
||||
1} retries remaining)`
|
||||
}\n${JSON.stringify(
|
||||
Object.keys(error.response)
|
||||
)}\nretrying... (${maxRetries - 1} retries remaining)`
|
||||
);
|
||||
return release(config, releaser, maxRetries - 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue