Throw full error for CLI bundle download (#1657)
This commit is contained in:
parent
c5f3f016ae
commit
a9648ea7c6
3 changed files with 5 additions and 5 deletions
3
lib/codeql.js
generated
3
lib/codeql.js
generated
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue