Skip to content

Commit

Permalink
feat: change wording of error reporting when a failure occurs during …
Browse files Browse the repository at this point in the history
…extraction
  • Loading branch information
NlightNFotis committed Dec 11, 2024
1 parent 9323695 commit 88bcf64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/tools-download.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/tools-download.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/tools-download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 88bcf64

Please sign in to comment.