Skip to content

Commit 3d75465

Browse files
authored
Merge 9ae4282 into 7a02b59
2 parents 7a02b59 + 9ae4282 commit 3d75465

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ydb/library/yql/providers/pq/gateway/native/yql_pq_session.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ NPq::NConfigurationManager::TAsyncDescribePathResult TPqSession::DescribePath(co
8585
return client->DescribePath(path);
8686
}
8787

88-
return GetYdbPqClient(cluster, database, *config, credentialsProviderFactory).DescribeTopic(path).Apply([cluster, path](const NYdb::NTopic::TAsyncDescribeTopicResult& describeTopicResultFuture) {
88+
return GetYdbPqClient(cluster, database, *config, credentialsProviderFactory).DescribeTopic(path).Apply([cluster, path, database](const NYdb::NTopic::TAsyncDescribeTopicResult& describeTopicResultFuture) {
8989
const NYdb::NTopic::TDescribeTopicResult& describeTopicResult = describeTopicResultFuture.GetValue();
9090
if (!describeTopicResult.IsSuccess()) {
91-
throw yexception() << "Failed to describe topic `" << cluster << "`.`" << path << "`: " << describeTopicResult.GetIssues().ToString();
91+
throw yexception() << "Failed to describe topic `" << cluster << "`.`" << path << "` in the database `" << database << "`: " << describeTopicResult.GetIssues().ToString();
9292
}
9393
NPq::NConfigurationManager::TTopicDescription desc(path);
9494
desc.PartitionsCount = describeTopicResult.GetTopicDescription().GetTotalPartitionsCount();

0 commit comments

Comments
 (0)