@brandboostinggmbh/observable-workflows 0.8.2 → 0.8.3
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 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -664,6 +664,8 @@ const createLogAccessor = (context) => {
|
|
|
664
664
|
if (!result.results || result.results.length === 0) return null;
|
|
665
665
|
const row = result.results[0];
|
|
666
666
|
if (!row) return null;
|
|
667
|
+
const deserializedResult = await deserializeWithExternalStorage(row.result, row.resultRef, internalSerializer, context.externalBlobStorage);
|
|
668
|
+
const deserializedError = await deserializeWithExternalStorage(row.error, row.errorRef, internalSerializer, context.externalBlobStorage);
|
|
667
669
|
const step = {
|
|
668
670
|
instanceId: row.instanceId,
|
|
669
671
|
name: row.stepName,
|
|
@@ -671,8 +673,8 @@ const createLogAccessor = (context) => {
|
|
|
671
673
|
status: row.stepStatus,
|
|
672
674
|
startTime: row.startTime,
|
|
673
675
|
endTime: row.endTime,
|
|
674
|
-
result:
|
|
675
|
-
error:
|
|
676
|
+
result: deserializedResult,
|
|
677
|
+
error: deserializedError,
|
|
676
678
|
logs: []
|
|
677
679
|
};
|
|
678
680
|
const logResult = await context.D1.prepare(
|