wuchunfu commented on code in PR #3511:
URL:
https://github.com/apache/incubator-seatunnel/pull/3511#discussion_r1029527064
##########
seatunnel-connectors-v2/connector-socket/src/main/java/org/apache/seatunnel/connectors/seatunnel/socket/sink/SocketClient.java:
##########
@@ -61,7 +62,9 @@ public void open() throws IOException {
createConnection();
}
} catch (IOException e) {
- throw new IOException("Cannot connect to socket server at " +
hostName + ":" + port, e);
+ throw new IOException(String.format(
+ "Cannot connect to socket server at %s:%d",
+ hostName, port), e);
Review Comment:
Done, Thanks for your review.
--
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]