Skip to content

Commit

Permalink
👌 Output more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-anderson committed Jun 16, 2022
1 parent 297887f commit 32c8ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ try {
fetch(url, payload).then((response) => {
// Response object https://developer.mozilla.org/en-US/docs/Web/API/Response
if (!response.ok) {
console.log({response})
console.log(JSON.stringify(response))
core.setFailed("POST returned something unexpected");
}
});
Expand Down

0 comments on commit 32c8ed8

Please sign in to comment.