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


##########
modules/client-handler/src/main/java/org/apache/ignite/client/handler/JdbcQueryEventHandlerImpl.java:
##########
@@ -272,10 +273,14 @@ public CompletableFuture<JdbcMetaPrimaryKeysResult> 
primaryKeysMetaAsync(JdbcMet
      * @return StringWriter filled with exception.
      */
     private StringWriter getWriterWithStackTrace(Throwable t) {
+        String message = ExceptionUtils.unwrapCause(t).getMessage();
         StringWriter sw = new StringWriter();
         PrintWriter pw = new PrintWriter(sw);
 
-        t.printStackTrace(pw);
+        pw.print(message);
+
+        // check if stacktrace is needed
+        // t.printStackTrace(pw);

Review Comment:
   remove it plz



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