Skip to content

Commit

Permalink
chore: add logging for response message
Browse files Browse the repository at this point in the history
  • Loading branch information
asambstack committed Oct 8, 2024
1 parent 18d8df8 commit 5a5faf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/helpers/buildArtifacts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a5faf1

Please sign in to comment.