diff --git a/src/Ydb.Sdk/src/Ado/YdbException.cs b/src/Ydb.Sdk/src/Ado/YdbException.cs index 8426b203..704c5b1b 100644 --- a/src/Ydb.Sdk/src/Ado/YdbException.cs +++ b/src/Ydb.Sdk/src/Ado/YdbException.cs @@ -16,7 +16,7 @@ public YdbException(Status status) : base(status.ToString()) { Code = status.StatusCode; var policy = RetrySettings.DefaultInstance.GetRetryRule(status.StatusCode).Policy; - + IsTransient = policy == RetryPolicy.Unconditional; IsTransientWhenIdempotent = policy != RetryPolicy.None; // TODO: Add SQLSTATE message with order with https://en.wikipedia.org/wiki/SQLSTATE