@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.
Files changed (2) hide show
  1. package/dist/on.js +13 -3
  2. 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 (e) {
11060
- return Jn(`⏩ Failed to run step ${t.id}`, r, e), {
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: null
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-cli/on",
3
- "version": "1.34.1",
3
+ "version": "1.34.2",
4
4
  "description": "CLI entry point for the on plugin ecosystem.",
5
5
  "type": "module",
6
6
  "packageManager": "pnpm@10.30.3",