Treat status reports as non-critical

Change `sendStatusReport` to `void`
This commit is contained in:
Josh Soref 2024-01-31 12:23:50 -05:00
parent 43a8916cbe
commit 5a6da1d85d
28 changed files with 146 additions and 138 deletions

View file

@ -229,18 +229,14 @@ async function run() {
core.exportVariable(EnvVar.JOB_RUN_UUID, uuidV4());
try {
if (
!(await sendStatusReport(
await createStatusReportBase(
"init",
"starting",
startedAt,
await checkDiskUsage(logger),
),
))
) {
return;
}
await sendStatusReport(
await createStatusReportBase(
"init",
"starting",
startedAt,
await checkDiskUsage(logger),
),
);
const codeQLDefaultVersionInfo = await features.getDefaultCliVersion(
gitHubVersion.type,