codelipenghui commented on code in PR #16678:
URL: https://github.com/apache/pulsar/pull/16678#discussion_r925144646
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarChannelInitializer.java:
##########
@@ -127,6 +127,12 @@ public PulsarChannelInitializer(ClientConfigurationData
conf, Supplier<ClientCnx
conf.getTlsCiphers(),
conf.getTlsProtocols());
}
+ } catch (PulsarClientException pulsarClientException) {
+ try {
+ throw pulsarClientException;
+ } catch (Exception e) {
+ throw new RuntimeException(e);
+ }
Review Comment:
```suggestion
throw new RuntimeException(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]