Skip to content

Commit

Permalink
Downgrade log severity when we can't upload a failed SARIF file
Browse files Browse the repository at this point in the history
This isn't severe enough to appear on the Actions summary.
  • Loading branch information
Henry Mercer committed Dec 6, 2022
1 parent 4623c8e commit 2207a72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/init-action-post-helper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/init-action-post-helper.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/init-action-post-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export async function run(
`the following error: ${e}`
);
}
logger.warning(
logger.info(
`Failed to upload a SARIF file for the failed run. Error: ${e}`
);
}
Expand Down

0 comments on commit 2207a72

Please sign in to comment.