From 5a5faf1ac90cf1ca21a447d0e42e3602a18915c0 Mon Sep 17 00:00:00 2001 From: Aditya Samantaray Date: Tue, 8 Oct 2024 18:10:38 +0530 Subject: [PATCH] chore: add logging for response message --- bin/helpers/buildArtifacts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/helpers/buildArtifacts.js b/bin/helpers/buildArtifacts.js index 844ad3b6..6c0be3b9 100644 --- a/bin/helpers/buildArtifacts.js +++ b/bin/helpers/buildArtifacts.js @@ -114,6 +114,7 @@ const downloadAndUnzip = async (filePath, fileName, url) => { reject(Constants.userMessages.DOWNLOAD_BUILD_ARTIFACTS_NOT_FOUND); } const errorMsg = `Non 200 status code, got status code: ${response.statusCode}`; + logger.debug(`${errorMsg} with response: ${response.message}`); reject(errorMsg); } else { //ensure that the user can call `then()` only when the file has