feat: change wording of error reporting when a failure occurs during extraction

This commit is contained in:
Fotis Koutoulakis (@NlightNFotis)
2024-12-11 11:32:53 +00:00
parent 932369573c
commit 88bcf64e02
3 changed files with 5 additions and 5 deletions

View File

@@ -125,9 +125,9 @@ export async function downloadAndExtract(
}
} catch (e) {
core.warning(
`Failed to download and extract CodeQL bundle using streaming. Falling back to downloading the bundle before extracting.`,
`Failed to download and extract CodeQL bundle using streaming with error: ${getErrorMessage(e)}`,
);
core.warning(`Error: ${getErrorMessage(e)}`);
core.warning(`Falling back to downloading the bundle before extracting.`);
// If we failed during processing, we want to clean up the destination directory
// before we try again.