Skip to content

Commit 1fca47b

Browse files
Update src/content/docs/workflows/build/sleeping-and-retrying.mdx
Co-authored-by: Matt Silverlock <[email protected]>
1 parent 25365a9 commit 1fca47b

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
@@ -118,7 +118,7 @@ Any uncaught exceptions that propagate to the top level, or any steps that reach
118118
119119
If you want to avoid this, you can catch exceptions emitted by a `step`. This can be useful if you need to trigger clean-up tasks or have conditional logic that triggers additional steps.
120120
121-
To allow the Workflow to continue its execution, surround the intended steps that are allowed to fail with a try/catch.
121+
To allow the Workflow to continue its execution, surround the intended steps that are allowed to fail with a `try-catch` block.
122122
123123
Simple example of a Worflow with a cleanup step:
124124

0 commit comments

Comments
 (0)