diff --git a/src/github.ts b/src/github.ts index 219c9ad..0d96a97 100644 --- a/src/github.ts +++ b/src/github.ts @@ -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}`, );