Scanning endpoint failures should not halt the scan

This commit is contained in:
Simon Engledew 2020-11-19 15:49:46 +00:00
parent 7fda765d49
commit eb4226ede4
No known key found for this signature in database
GPG key ID: 84302E7B02FE8BCE
15 changed files with 32 additions and 49 deletions

View file

@ -31,7 +31,7 @@ async function run() {
let language = undefined;
try {
actionsUtil.prepareLocalRunEnvironment();
if (!(await actionsUtil.sendStatusReport(await actionsUtil.createStatusReportBase("autobuild", "starting", startedAt), true))) {
if (!(await actionsUtil.sendStatusReport(await actionsUtil.createStatusReportBase("autobuild", "starting", startedAt)))) {
return;
}
const config = await config_utils.getConfig(actionsUtil.getRequiredEnvParam("RUNNER_TEMP"), logger);