diff --git a/dist/index.js b/dist/index.js index 905f5bf..357d8c5 100644 --- a/dist/index.js +++ b/dist/index.js @@ -5663,11 +5663,10 @@ class ArtifactHttpClient { try { const response = yield operation(); const statusCode = response.message.statusCode; - const raw = yield response.readBody(); - const body = JSON.parse(raw); + const body = yield response.readBody(); (0, core_1.debug)(`[Response] - ${response.message.statusCode}`); (0, core_1.debug)(`Headers: ${JSON.stringify(response.message.headers, null, 2)}`); - (0, core_1.debug)(`Body: ${JSON.stringify(body, null, 2)}`); + (0, core_1.debug)(`Body: ${body}`); if (this.isSuccessStatusCode(statusCode)) { return { response, body }; }