richardstartin commented on a change in pull request #7460: URL: https://github.com/apache/pinot/pull/7460#discussion_r714019372
########## File path: pinot-common/src/main/java/org/apache/pinot/common/exception/QueryException.java ########## @@ -144,17 +153,29 @@ public static ProcessingException getException(ProcessingException processingExc return copiedProcessingException; } - public static String getTruncatedStackTrace(Exception exception) { + public static String getTruncatedStackTrace(Throwable exception) { StringWriter stringWriter = new StringWriter(); exception.printStackTrace(new PrintWriter(stringWriter)); String fullStackTrace = stringWriter.toString(); String[] lines = fullStackTrace.split("\n"); Review comment: Well, actually, I don't know if what I said is correct or not. It might be better, it might not, but I don't think it's important enough to find out. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org