Skip to content

Commit

Permalink
Fixed ExceptionUtils.Retry(Func<TResult) overload not returning first…
Browse files Browse the repository at this point in the history
… successful result
  • Loading branch information
bastianeicher committed Dec 7, 2024
1 parent bb3e1c6 commit 5e67e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/ExceptionUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public static TResult Retry<TException, TResult>([InstantHandle] Func<TResult> f
{
try
{
function();
return function();
}
catch (TException ex)
{
Expand Down

0 comments on commit 5e67e94

Please sign in to comment.