Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/context/steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,10 @@ export class LazyWaitForEventStep<TEventData> extends BaseLazyStep<WaitStepRespo
};
}

public async getResultStep(concurrent: number, stepId: number): Promise<Step<WaitStepResponse<TEventData>>> {
public async getResultStep(
concurrent: number,
stepId: number
): Promise<Step<WaitStepResponse<TEventData>>> {
return await Promise.resolve({
stepId,
stepName: this.stepName,
Expand Down
3 changes: 3 additions & 0 deletions src/serve/authorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ export class DisabledWorkflowContext<
) {
return ok("step-found");
}
console.warn(
"Upstash Workflow: Received an error while authorizing request. Please avoid throwing errors before the first step of your workflow."
);
return err(error as Error);
}

Expand Down
Loading