@brandboostinggmbh/observable-workflows 0.4.4 → 0.4.6
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -238,10 +238,10 @@ async function createStepContext(context) {
|
|
|
238
238
|
metadata: trySerializeObj(row.metadata, context.serializer),
|
|
239
239
|
startTime: row.startTime,
|
|
240
240
|
endTime: row.endTime,
|
|
241
|
-
result: row.result,
|
|
242
|
-
error: row.error
|
|
241
|
+
result: trySerializeObj(row.result, context.serializer),
|
|
242
|
+
error: trySerializeObj(row.error, context.serializer)
|
|
243
243
|
});
|
|
244
|
-
return
|
|
244
|
+
return row.result;
|
|
245
245
|
} else console.warn("temp: found existing step with different status", row);
|
|
246
246
|
} else console.warn("temp: no existing step found");
|
|
247
247
|
} else console.warn("temp: not trying to reuse successful steps");
|