mirror of
https://github.com/github/codeql-action
synced 2026-05-31 00:00:46 +03:00
Merge pull request #3037 from github/henrymercer/failed-upload-logs
Bump log visibility for failed analysis upload
This commit is contained in:
Generated
+1
-1
@@ -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
@@ -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.',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user