pgier commented on code in PR #25503:
URL: https://github.com/apache/pulsar/pull/25503#discussion_r3065106539
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/NamespacesBase.java:
##########
@@ -142,7 +142,7 @@ protected CompletableFuture<List<String>>
internalGetTenantNamespaces(String ten
.thenCompose(__ -> tenantResources().tenantExistsAsync(tenant))
.thenCompose(existed -> {
if (!existed) {
- throw new RestException(Status.NOT_FOUND, "Tenant not
found");
+ throw new RestException(Status.NOT_FOUND, "Tenant not
found: " + tenant);
Review Comment:
The issue is that the log on the server doesn't show which tenant has the
issue. I've updated the code so that it only prints the tenant name in the
server log, WDYT?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]