@cloud-cli/on 1.34.1 → 1.34.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/on.js +13 -3
- package/package.json +1 -1
package/dist/on.js
CHANGED
|
@@ -11056,12 +11056,22 @@ async function yl(e) {
|
|
|
11056
11056
|
...e,
|
|
11057
11057
|
stepContext: i
|
|
11058
11058
|
});
|
|
11059
|
-
} catch (
|
|
11060
|
-
|
|
11059
|
+
} catch (n) {
|
|
11060
|
+
let i = n?.message || String(n);
|
|
11061
|
+
return await e.queue.saveStepLog(e.jobId, t.id, `[STEP ERROR]:\n${i}`), Jn(`⏩ Failed to run step ${t.id}`, r, n), {
|
|
11061
11062
|
failed: !0,
|
|
11062
11063
|
cancelled: !1,
|
|
11063
11064
|
skipped: !1,
|
|
11064
|
-
report:
|
|
11065
|
+
report: {
|
|
11066
|
+
id: t.id,
|
|
11067
|
+
name: t.name,
|
|
11068
|
+
status: "failed",
|
|
11069
|
+
durationMs: 0,
|
|
11070
|
+
exitCode: 1,
|
|
11071
|
+
error: i,
|
|
11072
|
+
outputs: {},
|
|
11073
|
+
logContent: ""
|
|
11074
|
+
}
|
|
11065
11075
|
};
|
|
11066
11076
|
}
|
|
11067
11077
|
}
|