Treat status reports as non-critical
Change `sendStatusReport` to `void`
This commit is contained in:
parent
43a8916cbe
commit
5a6da1d85d
28 changed files with 146 additions and 138 deletions
|
|
@ -187,18 +187,15 @@ async function run() {
|
|||
|
||||
const logger = getActionsLogger();
|
||||
try {
|
||||
if (
|
||||
!(await statusReport.sendStatusReport(
|
||||
await createStatusReportBase(
|
||||
"finish",
|
||||
"starting",
|
||||
startedAt,
|
||||
await util.checkDiskUsage(logger),
|
||||
),
|
||||
))
|
||||
) {
|
||||
return;
|
||||
}
|
||||
await statusReport.sendStatusReport(
|
||||
await createStatusReportBase(
|
||||
"finish",
|
||||
"starting",
|
||||
startedAt,
|
||||
await util.checkDiskUsage(logger),
|
||||
),
|
||||
);
|
||||
|
||||
config = await getConfig(actionsUtil.getTemporaryDirectory(), logger);
|
||||
if (config === undefined) {
|
||||
throw new Error(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue