Skip to content

Commit

Permalink
fix: correctly debug log on GHA request
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Aug 29, 2024
1 parent 36d88e1 commit 5925bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const requestThroughGitHubActions = async (
});

if (startResponse.status !== 200) {
console.error(`\nOTP request failed: ${startResponse.data}`);
console.error(`\nOTP request failed: ${JSON.stringify(startResponse.data)}`);
throw new Error(
`Unexpected status when requesting otp on GitHub Actions: ${startResponse.status}`,
);
Expand Down

0 comments on commit 5925bdd

Please sign in to comment.