Merge pull request #3037 from github/henrymercer/failed-upload-logs

Bump log visibility for failed analysis upload
This commit is contained in:
Michael B. Gale
2025-08-15 18:47:21 +01:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -622,7 +622,7 @@ function handleProcessingResultForUnsuccessfulExecution(response, status, logger
response.data.errors.length === 1 &&
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
response.data.errors[0].toString().startsWith("unsuccessful execution")) {
logger.debug("Successfully uploaded a SARIF file for the unsuccessful execution. Received expected " +
logger.info("Successfully uploaded a SARIF file for the unsuccessful execution. Received expected " +
'"unsuccessful execution" processing error, and no other errors.');
}
else if (status === "failed") {
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -919,7 +919,7 @@ function handleProcessingResultForUnsuccessfulExecution(
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
response.data.errors[0].toString().startsWith("unsuccessful execution")
) {
logger.debug(
logger.info(
"Successfully uploaded a SARIF file for the unsuccessful execution. Received expected " +
'"unsuccessful execution" processing error, and no other errors.',
);