@brandboostinggmbh/observable-workflows 0.4.2 → 0.4.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 +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -206,6 +206,7 @@ async function createStepContext(context) {
|
|
|
206
206
|
console.warn("temp: found existing step", existingStep);
|
|
207
207
|
const row = existingStep;
|
|
208
208
|
if (row.status === "completed") {
|
|
209
|
+
console.warn("temp: found existing step with completed status", row);
|
|
209
210
|
await insertStepRecordFull(context, {
|
|
210
211
|
instanceId,
|
|
211
212
|
name: row.name,
|
|
@@ -217,7 +218,7 @@ async function createStepContext(context) {
|
|
|
217
218
|
error: row.error
|
|
218
219
|
});
|
|
219
220
|
return context.serializer.deserialize(row.result);
|
|
220
|
-
}
|
|
221
|
+
} else console.warn("temp: found existing step with different status", row);
|
|
221
222
|
} else console.warn("temp: no existing step found");
|
|
222
223
|
} else console.warn("temp: not trying to reuse successful steps");
|
|
223
224
|
let waitFor = [];
|