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:
parent
e9ff99b027
commit
e09fbf5b4a
3 changed files with 3 additions and 3 deletions
2
lib/init-action-post-helper.js
generated
2
lib/init-action-post-helper.js
generated
|
|
@ -76,7 +76,7 @@ async function uploadSarifIfRunFailed(config, repositoryNwo, featureEnablement,
|
|||
throw new Error("Expected to upload a SARIF file for this failed CodeQL code scanning run, but encountered " +
|
||||
`the following error: ${e}`);
|
||||
}
|
||||
logger.info(`Failed to upload a SARIF file for this failed CodeQL code scanning run. ${e}`);
|
||||
logger.debug(`Failed to upload a SARIF file for this failed CodeQL code scanning run. ${e}`);
|
||||
return createFailedUploadFailedSarifResult(e);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue