@koda-sl/baker-cli 0.136.0 → 0.136.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/cli.js
CHANGED
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
toModelSafeImage,
|
|
35
35
|
ulid,
|
|
36
36
|
validateCanvasDeep
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-TAGQCU36.js";
|
|
38
38
|
import {
|
|
39
39
|
csvOrJson,
|
|
40
40
|
daysAgoIso,
|
|
@@ -18558,6 +18558,9 @@ function buildFailedRunRecord(runId, errorMessage, meta) {
|
|
|
18558
18558
|
}
|
|
18559
18559
|
|
|
18560
18560
|
// src/commands/canvas/run-progress.ts
|
|
18561
|
+
function clampNodeError(error) {
|
|
18562
|
+
return { ...error, message: error.message.slice(0, 2e3) };
|
|
18563
|
+
}
|
|
18561
18564
|
var RunProgressTracker = class {
|
|
18562
18565
|
runId;
|
|
18563
18566
|
meta;
|
|
@@ -18606,7 +18609,7 @@ var RunProgressTracker = class {
|
|
|
18606
18609
|
});
|
|
18607
18610
|
return;
|
|
18608
18611
|
}
|
|
18609
|
-
this.patchNode(event.node_id, { status: "failed" });
|
|
18612
|
+
this.patchNode(event.node_id, { status: "failed", error: clampNodeError(event.error) });
|
|
18610
18613
|
}
|
|
18611
18614
|
/** True once the plan event landed — before that there is nothing worth posting. */
|
|
18612
18615
|
hasPlan() {
|