Skip to content

Commit 88bcf64

Browse files
committed
feat: change wording of error reporting when a failure occurs during extraction
1 parent 9323695 commit 88bcf64

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/tools-download.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/tools-download.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tools-download.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ export async function downloadAndExtract(
125125
}
126126
} catch (e) {
127127
core.warning(
128-
`Failed to download and extract CodeQL bundle using streaming. Falling back to downloading the bundle before extracting.`,
128+
`Failed to download and extract CodeQL bundle using streaming with error: ${getErrorMessage(e)}`,
129129
);
130-
core.warning(`Error: ${getErrorMessage(e)}`);
130+
core.warning(`Falling back to downloading the bundle before extracting.`);
131131

132132
// If we failed during processing, we want to clean up the destination directory
133133
// before we try again.

0 commit comments

Comments
 (0)