Throw full error for CLI bundle download (#1657)

This commit is contained in:
Angela P Wen
2023-04-24 07:46:45 -07:00
committed by GitHub
parent c5f3f016ae
commit a9648ea7c6
3 changed files with 5 additions and 5 deletions
Generated
+1 -2
View File
@@ -122,8 +122,7 @@ async function setupCodeQL(toolsInput, apiDetails, tempDir, variant, defaultCliV
};
}
catch (e) {
logger.error((0, util_1.wrapError)(e).message);
throw new Error("Unable to download and extract CodeQL CLI");
throw new Error(`Unable to download and extract CodeQL CLI: ${(0, util_1.wrapError)(e).message}`);
}
}
exports.setupCodeQL = setupCodeQL;
+1 -1
View File
File diff suppressed because one or more lines are too long