Skip to content

Commit 1c4c29f

Browse files
committed
better header for nonretryableerror
1 parent 57d467c commit 1c4c29f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workflows/build/sleeping-and-retrying.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ let someState = step.do("call an API", {
8585
}, async () => { /* Step code goes here /* }
8686
```
8787
88-
### Force a step to fail
88+
## Force a Workflow to fail
8989
9090
You can also force a Workflow instance to fail and _not_ retry by throwing a `NonRetryableError` from within the step.
9191

0 commit comments

Comments
 (0)