mirror of
https://github.com/github/codeql-action.git
synced 2026-05-07 06:10:19 +00:00
Remove try/catch
This commit is contained in:
+3
-3
@@ -145,7 +145,7 @@ async function runQueries(databaseFolder: string, sarifFolder: string, config: c
|
||||
}
|
||||
|
||||
async function run() {
|
||||
try {
|
||||
//try {
|
||||
if (util.should_abort('finish', true) || !await util.reportActionStarting('finish')) {
|
||||
return;
|
||||
}
|
||||
@@ -174,11 +174,11 @@ async function run() {
|
||||
}
|
||||
}
|
||||
|
||||
} catch (error) {
|
||||
/*} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
await util.reportActionFailed('finish', error.message, error.stack);
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
|
||||
await util.reportActionSucceeded('finish');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user