Skip to content

Commit

Permalink
fix(github): add debug info to release error
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-hulski committed Jul 15, 2023
1 parent 1682899 commit 23b7a56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Cooker/providers/GithubProvider/createRelease.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export function createRelease(path, tagName, body) {
for (const entry in error.response.data) {
errorInfo += `\n ${entry}: '${error.response.data[entry]}'`
}
errorInfo += `\n headers.Authorization`
errorInfo += `\n url`
reject(
new Error(
'Request failed with status code ' +
Expand Down

0 comments on commit 23b7a56

Please sign in to comment.