Skip to content

Commit

Permalink
Remove attribute
Browse files Browse the repository at this point in the history
Not required due to lack of catch.
  • Loading branch information
martincostello authored Aug 1, 2024
1 parent 8fba1d2 commit 0cf7c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Polly.Core/Hedging/Controller/TaskExecution.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private HedgingActionGeneratorArguments<TResult> CreateArguments<TResult, TState
Func<ResilienceContext, TState, ValueTask<Outcome<TResult>>> 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()
{
Expand Down

0 comments on commit 0cf7c98

Please sign in to comment.