Skip to content

Commit

Permalink
fix(github): get more info on release failure
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-hulski committed Jul 13, 2023
1 parent e1de60f commit 42ab5d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Cooker/providers/GithubProvider/createRelease.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ export function createRelease(path, tagName, body) {
resolve(response.data)
})
.catch(error => {
if (error.response) {
console.log(error.response.status)
console.log(error.response.data)
console.log(error.response.headers)
}
reject(new Error(error))
})
})
Expand Down

0 comments on commit 42ab5d6

Please sign in to comment.