yiguolei commented on code in PR #17382: URL: https://github.com/apache/doris/pull/17382#discussion_r1124022274
########## fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java: ########## @@ -612,21 +611,18 @@ public void execute(TUniqueId queryId) throws Exception { context.getState().setError(ErrorCode.ERR_NOT_SUPPORTED_YET, "Do not support this query."); } } catch (IOException e) { - e.printStackTrace(); LOG.warn("execute IOException. {}", context.getQueryIdentifier(), e); // the exception happens when interact with client // this exception shows the connection is gone context.getState().setError(ErrorCode.ERR_UNKNOWN_ERROR, e.getMessage()); throw e; } catch (UserException e) { - e.printStackTrace(); // analysis exception only print message, not print the stack Review Comment: should add e to log warn -- 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...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org