diff --git a/DistributedLock.Redis/RedisDistributedSynchronizationOptionsBuilder.cs b/DistributedLock.Redis/RedisDistributedSynchronizationOptionsBuilder.cs index c46bdf8c..f15c0803 100644 --- a/DistributedLock.Redis/RedisDistributedSynchronizationOptionsBuilder.cs +++ b/DistributedLock.Redis/RedisDistributedSynchronizationOptionsBuilder.cs @@ -145,12 +145,15 @@ internal static RedisDistributedLockOptions GetOptions(Action= 0) { throw new ArgumentOutOfRangeException( nameof(extensionCadence), specifiedExtensionCadence.TimeSpan, - $"{nameof(extensionCadence)} must be less than {nameof(expiry)} ({expiry.TimeSpan}). To disable auto-extension, specify {nameof(Timeout)}.{nameof(Timeout.InfiniteTimeSpan)}" + $"{nameof(extensionCadence)} must be less than {nameof(expiry)} ({expiry.TimeSpan})" ); } extensionCadence = specifiedExtensionCadence;