Skip to content

Commit

Permalink
Print error in target discoverer (ydb-platform#4684)
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberROFL committed Jun 10, 2024
1 parent 7ea0536 commit be81bae
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ydb/core/tx/replication/controller/target_discoverer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ class TTargetDiscoverer: public TActorBootstrapped<TTargetDiscoverer> {
}
} else {
LOG_E("Describe failed"
<< ": path# " << path.first);
<< ": path# " << path.first
<< ", status# " << result.GetStatus()
<< ", issues# " << result.GetIssues().ToOneLineString());

if (IsRetryableError(result)) {
return RetryDescribe(*it);
Expand Down Expand Up @@ -153,7 +155,9 @@ class TTargetDiscoverer: public TActorBootstrapped<TTargetDiscoverer> {
}
} else {
LOG_E("Listing failed"
<< ": path# " << path.first);
<< ": path# " << path.first
<< ", status# " << result.GetStatus()
<< ", issues# " << result.GetIssues().ToOneLineString());

if (IsRetryableError(result)) {
return RetryListing(it->first);
Expand Down

0 comments on commit be81bae

Please sign in to comment.