diff --git a/src/Polly.Core/Hedging/Controller/TaskExecution.cs b/src/Polly.Core/Hedging/Controller/TaskExecution.cs index fe45608153d..a87798351db 100644 --- a/src/Polly.Core/Hedging/Controller/TaskExecution.cs +++ b/src/Polly.Core/Hedging/Controller/TaskExecution.cs @@ -155,7 +155,7 @@ private HedgingActionGeneratorArguments CreateArguments>> primaryCallback, ResilienceContext primaryContext, TState state, - int attempt) => new(primaryContext, Context, attempt, [DebuggerDisableUserUnhandledExceptions] (context) => primaryCallback(context, state)); + int attempt) => new(primaryContext, Context, attempt, (context) => primaryCallback(context, state)); public async ValueTask ResetAsync() {