maksaska commented on code in PR #11462:
URL: https://github.com/apache/ignite/pull/11462#discussion_r1713560842


##########
modules/core/src/main/java/org/apache/ignite/internal/client/thin/io/gridnioserver/GridNioClientConnectionMultiplexer.java:
##########
@@ -194,7 +195,7 @@ public 
GridNioClientConnectionMultiplexer(ClientConfiguration cfg) {
             return new GridNioClientConnection(ses, msgHnd, stateHnd);
         }
         catch (Exception e) {
-            throw new ClientConnectionException(e.getMessage(), e);
+            throw new ClientConnectionException(e.getMessage() + " [" + addr + 
']', e);

Review Comment:
   Added field to the message



##########
modules/core/src/test/java/org/apache/ignite/internal/client/thin/FunctionalTest.java:
##########
@@ -644,6 +645,8 @@ public void testClientFailsOnStart() {
             String.format("%s expected but no exception was received", 
ClientConnectionException.class.getName()),
             expEx
         );
+
+        assertContains(log, expEx.getMessage(), "[InetSocketAddress [holder=" 
+ Config.SERVER + "]]");

Review Comment:
   Fixed test



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