Skip to content

Commit

Permalink
fix: update abort message error
Browse files Browse the repository at this point in the history
  • Loading branch information
CahidArda committed Aug 20, 2024
1 parent 6f45c85 commit 94febcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class QstashWorkflowAbort extends Error {
constructor(stepName: string, stepInfo?: Step) {
super(
"This is an QStash Workflow error thrown after a step executes. It is expected to be raised." +
" If you are using try/catch blocks, you should not wrap context.run/sleep/sleepUntil/call methods with try/catch." +
" Make sure that you await for each step. Also, if you are using try/catch blocks, you should not wrap context.run/sleep/sleepUntil/call methods with try/catch." +
` Aborting workflow after executing step '${stepName}'.`
);
this.name = "QstashWorkflowAbort";
Expand Down

0 comments on commit 94febcc

Please sign in to comment.