mattisonchao commented on code in PR #17416:
URL: https://github.com/apache/pulsar/pull/17416#discussion_r962084835


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java:
##########
@@ -1005,14 +1009,14 @@ public CompletableFuture<Optional<Topic>> 
getTopic(final String topic, boolean c
                 });
             }
         } catch (IllegalArgumentException e) {
-            log.warn("[{}] Illegalargument exception when loading topic", 
topic, e);
+            log.warn("[{}] Illegalargument exception when loading topic", 
topicName.toString(), e);

Review Comment:
   It looks like we don't need to call `toString` here.



-- 
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]

Reply via email to