Skip to content

Commit

Permalink
fix constructor of orchestration executor so that it uses the Failure…
Browse files Browse the repository at this point in the history
…Details error propagation mode as intended (#203)
  • Loading branch information
sebastianburckhardt authored Feb 29, 2024
1 parent 4de1748 commit 07308d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Worker/Grpc/GrpcOrchestrationRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static string LoadAndRun(
? DurableTaskShimFactory.Default
: ActivatorUtilities.GetServiceOrCreateInstance<DurableTaskShimFactory>(services);
TaskOrchestration shim = factory.CreateOrchestration(orchestratorName, implementation, parent);
TaskOrchestrationExecutor executor = new(runtimeState, shim, BehaviorOnContinueAsNew.Carryover, request.EntityParameters.ToCore());
TaskOrchestrationExecutor executor = new(runtimeState, shim, BehaviorOnContinueAsNew.Carryover, request.EntityParameters.ToCore(), ErrorPropagationMode.UseFailureDetails);
OrchestratorExecutionResult result = executor.Execute();

P.OrchestratorResponse response = ProtoUtils.ConstructOrchestratorResponse(
Expand Down

0 comments on commit 07308d9

Please sign in to comment.