From 07308d97715cecce74b83ad4fefb729945c5717d Mon Sep 17 00:00:00 2001 From: Sebastian Burckhardt Date: Thu, 29 Feb 2024 10:59:00 -0800 Subject: [PATCH] fix constructor of orchestration executor so that it uses the FailureDetails error propagation mode as intended (#203) --- src/Worker/Grpc/GrpcOrchestrationRunner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/Grpc/GrpcOrchestrationRunner.cs b/src/Worker/Grpc/GrpcOrchestrationRunner.cs index a89cb46f..2c981bcd 100644 --- a/src/Worker/Grpc/GrpcOrchestrationRunner.cs +++ b/src/Worker/Grpc/GrpcOrchestrationRunner.cs @@ -109,7 +109,7 @@ public static string LoadAndRun( ? DurableTaskShimFactory.Default : ActivatorUtilities.GetServiceOrCreateInstance(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(