mirror of
https://github.com/github/codeql-action.git
synced 2026-01-03 21:20:09 +08:00
Throw full error for CLI bundle download (#1657)
This commit is contained in:
@@ -340,8 +340,9 @@ export async function setupCodeQL(
|
||||
toolsVersion,
|
||||
};
|
||||
} catch (e) {
|
||||
logger.error(wrapError(e).message);
|
||||
throw new Error("Unable to download and extract CodeQL CLI");
|
||||
throw new Error(
|
||||
`Unable to download and extract CodeQL CLI: ${wrapError(e).message}`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user