Skip to content

Commit f935518

Browse files
authored
Print error in target discoverer (#4684)
1 parent 3673216 commit f935518

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ydb/core/tx/replication/controller/target_discoverer.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ class TTargetDiscoverer: public TActorBootstrapped<TTargetDiscoverer> {
6666
}
6767
} else {
6868
LOG_E("Describe failed"
69-
<< ": path# " << path.first);
69+
<< ": path# " << path.first
70+
<< ", status# " << result.GetStatus()
71+
<< ", issues# " << result.GetIssues().ToOneLineString());
7072

7173
if (IsRetryableError(result)) {
7274
return RetryDescribe(*it);
@@ -153,7 +155,9 @@ class TTargetDiscoverer: public TActorBootstrapped<TTargetDiscoverer> {
153155
}
154156
} else {
155157
LOG_E("Listing failed"
156-
<< ": path# " << path.first);
158+
<< ": path# " << path.first
159+
<< ", status# " << result.GetStatus()
160+
<< ", issues# " << result.GetIssues().ToOneLineString());
157161

158162
if (IsRetryableError(result)) {
159163
return RetryListing(it->first);

0 commit comments

Comments
 (0)