From 5925bddc3e57b5e91e6c6712ac2453f76aaab4dc Mon Sep 17 00:00:00 2001 From: David Sanders Date: Thu, 29 Aug 2024 17:24:48 -0400 Subject: [PATCH] fix: correctly debug log on GHA request --- src/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`, );