korlov42 commented on code in PR #1024:
URL: https://github.com/apache/ignite-3/pull/1024#discussion_r963089629


##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/JdbcQueryEventHandlerImpl.java:
##########
@@ -272,10 +273,17 @@ public CompletableFuture<JdbcMetaPrimaryKeysResult> 
primaryKeysMetaAsync(JdbcMet
      * @return StringWriter filled with exception.
      */
     private StringWriter getWriterWithStackTrace(Throwable t) {
+        String message = null;
+        if (t instanceof CompletionException) {

Review Comment:
   It would be better to use 
`org.apache.ignite.internal.util.ExceptionUtils#unwrapCause`



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