Skip to content

Commit

Permalink
Drop extraneous error logging in analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
angelapwen committed Dec 1, 2022
1 parent fba7013 commit 212a20b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions lib/analyze-action.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/analyze-action.js.map

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

3 changes: 0 additions & 3 deletions src/analyze-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,6 @@ async function run() {
core.setFailed(error.message);
}

console.log(error);

if (error instanceof CodeQLAnalysisError) {
const stats = { ...error.queriesStatusReport };
await sendStatusReport(
Expand Down Expand Up @@ -391,7 +389,6 @@ async function runWrapper() {
await runPromise;
} catch (error) {
core.setFailed(`analyze action failed: ${error}`);
console.log(error);
}
await checkForTimeout();
}
Expand Down

0 comments on commit 212a20b

Please sign in to comment.