Skip to content

Commit

Permalink
Demote upload failed SARIF run info statements to debug
Browse files Browse the repository at this point in the history
We now report errors via telemetry, and this feature will shortly be
enabled by default.
  • Loading branch information
Henry Mercer committed Dec 21, 2022
1 parent e9ff99b commit e09fbf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/init-action-post-helper.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/init-action-post-helper.js.map

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

2 changes: 1 addition & 1 deletion src/init-action-post-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export async function uploadSarifIfRunFailed(
`the following error: ${e}`
);
}
logger.info(
logger.debug(
`Failed to upload a SARIF file for this failed CodeQL code scanning run. ${e}`
);
return createFailedUploadFailedSarifResult(e);
Expand Down

0 comments on commit e09fbf5

Please sign in to comment.