@cadenza.io/core 3.0.8 → 3.0.10
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/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -931,9 +931,9 @@ var GraphNode = class _GraphNode extends SignalEmitter {
|
|
|
931
931
|
try {
|
|
932
932
|
this.result = await this.result;
|
|
933
933
|
if (typeof this.result === "object" && (this.result.hasOwnProperty("errored") || this.result.hasOwnProperty("failed"))) {
|
|
934
|
-
const result = await this.retryAsync(this.result);
|
|
934
|
+
const result = await this.retryAsync(this.result.__error);
|
|
935
935
|
if (typeof result === "object" && (result.hasOwnProperty("errored") || result.hasOwnProperty("failed"))) {
|
|
936
|
-
this.onError(result.
|
|
936
|
+
this.onError(result.__error);
|
|
937
937
|
}
|
|
938
938
|
}
|
|
939
939
|
} catch (e) {
|
|
@@ -2202,7 +2202,7 @@ var GraphRegistry = class _GraphRegistry {
|
|
|
2202
2202
|
return { ...context, __task: task };
|
|
2203
2203
|
}
|
|
2204
2204
|
}
|
|
2205
|
-
return
|
|
2205
|
+
return false;
|
|
2206
2206
|
},
|
|
2207
2207
|
"Gets task by name (first match)."
|
|
2208
2208
|
);
|
|
@@ -2263,7 +2263,7 @@ var GraphRegistry = class _GraphRegistry {
|
|
|
2263
2263
|
return { ...context, __routine: routine };
|
|
2264
2264
|
}
|
|
2265
2265
|
}
|
|
2266
|
-
return
|
|
2266
|
+
return false;
|
|
2267
2267
|
},
|
|
2268
2268
|
"Gets routine by name."
|
|
2269
2269
|
);
|