Skip to content

Commit 3631abc

Browse files
Update log message
1 parent 1e4ad83 commit 3631abc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Ydb.Sdk/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- Fixed bug `Reader`: unhandled exception in `TryReadRequestBytes(long bytes)`.
12
- Handle `YdbException` on `DeleteSession`.
23
- Do not invoke `DeleteSession` if the session is not active.
34
- `YdbException`: Added cancellation token propagation support in `CommitAsync` and `RollbackAsync`.

src/Ydb.Sdk/src/Driver.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public async Task Initialize()
4949
}
5050
catch (YdbException e)
5151
{
52-
Logger.LogError(e, "RPC error during initial endpoint discovery: {e.Status}", e.Code);
52+
Logger.LogError(e, "Error during initial endpoint discovery: {e.Status}", e.Code);
5353

5454
if (i == AttemptDiscovery - 1)
5555
{
@@ -60,7 +60,7 @@ public async Task Initialize()
6060
await Task.Delay(TimeSpan.FromMilliseconds(i * 200)); // await 0 ms, 200 ms, 400ms, ... 1.8 sec
6161
}
6262

63-
throw new YdbException("Error during initial endpoint discovery");
63+
throw new YdbException("Error initial endpoint discovery");
6464
}
6565

6666
protected override string GetEndpoint(long nodeId) => _endpointPool.GetEndpoint(nodeId);

0 commit comments

Comments
 (0)