Jason918 commented on a change in pull request #13137:
URL: https://github.com/apache/pulsar/pull/13137#discussion_r762504502
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java
##########
@@ -3621,15 +3621,14 @@ protected OffloadProcessStatus
internalOffloadStatus(boolean authoritative) {
validateAdminAccessForTenant(pulsar,
clientAppId, originalPrincipal,
topicName.getTenant(), authenticationData);
} catch (RestException authException) {
- log.warn("Failed to authorize {} on cluster {}",
clientAppId, topicName.toString());
+ log.warn("Failed to authorize {} on topic {}",
clientAppId, topicName, authException);
Review comment:
IMHO, we don't need log stack trace here. `authException` can be set as
the cause of the following PulsarClientException.
--
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]