Downgrade log severity when we can't upload a failed SARIF file

This isn't severe enough to appear on the Actions summary.
This commit is contained in:
Henry Mercer 2022-12-06 18:18:07 +00:00
parent 4623c8edb6
commit 2207a72006
3 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@ async function run(uploadDatabaseBundleDebugArtifact, uploadLogsDebugArtifact, p
throw new Error("Expected to upload a SARIF file for the failed run, but encountered " +
`the following error: ${e}`);
}
logger.warning(`Failed to upload a SARIF file for the failed run. Error: ${e}`);
logger.info(`Failed to upload a SARIF file for the failed run. Error: ${e}`);
}
}
else if (expectFailedSarifUpload) {