Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed May 30, 2023
1 parent f1ec870 commit e69d105
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public static TBuilder AddTimeout<TBuilder>(this TBuilder builder, TimeoutStrate
Guard.NotNull(builder);
Guard.NotNull(options);

ValidationHelper.ValidateObject(options, "The timeout strategy options are invalid.*");

builder.AddStrategy(context => new TimeoutResilienceStrategy(options, context.TimeProvider, context.Telemetry), options);
return builder;
}
Expand Down

0 comments on commit e69d105

Please sign in to comment.