You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -325,7 +326,13 @@ export class Engine extends DurableObject<Env> {
325
326
if(waiter){
326
327
waiter.reject(
327
328
newError(
328
-
`[WorkflowIntrospector] The Workflow instance ${this.instanceId} has reached status '${instanceStatusName(reachedStatus)}'. This is a finite status that prevents it from ever reaching the expected status of '${instanceStatusName(unreachableStatus)}'.`
329
+
`[WorkflowIntrospector] The Workflow instance ${
330
+
this.instanceId
331
+
} has reached status '${instanceStatusName(
332
+
reachedStatus
333
+
)}'. This is a finite status that prevents it from ever reaching the expected status of '${instanceStatusName(
334
+
unreachableStatus
335
+
)}'.`
329
336
)
330
337
);
331
338
this.statusWaiters.delete(unreachableStatus);
@@ -401,15 +408,19 @@ export class Engine extends DurableObject<Env> {
401
408
if(isOutput){
402
409
if(status!==InstanceStatus.Complete){
403
410
thrownewError(
404
-
`Cannot retrieve output: Workflow instance is in status "${instanceStatusName(status)}" but must be "complete" to have an output available`
411
+
`Cannot retrieve output: Workflow instance is in status "${instanceStatusName(
412
+
status
413
+
)}" but must be "complete" to have an output available`
0 commit comments