diff --git a/docs/sagas.md b/docs/sagas.md index 11d354657..083a6597a 100644 --- a/docs/sagas.md +++ b/docs/sagas.md @@ -15,7 +15,7 @@ builder .Then() .CompensateWith() ) - .OnError(Models.WorkflowErrorHandling.Retry, TimeSpan.FromSeconds(5)) + .CompensateWith() .Then(context => Console.WriteLine("End")); ``` @@ -34,7 +34,7 @@ builder .Then() .CompensateWith() ) - .CompensateWith() + .OnError(Models.WorkflowErrorHandling.Retry, TimeSpan.FromSeconds(5)) .Then(context => Console.WriteLine("End")); ``` @@ -158,4 +158,4 @@ Steps: - Id: Bye StepType: MyApp.GoodbyeWorld, MyApp -``` \ No newline at end of file +```