Demote upload failed SARIF run info statements to debug

We now report errors via telemetry, and this feature will shortly be
enabled by default.
This commit is contained in:
Henry Mercer 2022-12-21 11:33:19 +00:00
parent e9ff99b027
commit e09fbf5b4a
3 changed files with 3 additions and 3 deletions

View file

@ -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);