You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by GitBox <gi...@apache.org> on 2021/10/09 06:15:01 UTC

[GitHub] [incubator-kyuubi] pan3793 commented on a change in pull request #1200: [KYUUBI #1190] Enhance error log detection

pan3793 commented on a change in pull request #1200:
URL: https://github.com/apache/incubator-kyuubi/pull/1200#discussion_r725441079



##########
File path: kyuubi-server/src/main/scala/org/apache/kyuubi/engine/ProcBuilder.scala
##########
@@ -121,7 +121,8 @@ trait ProcBuilder {
               error = KyuubiSQLException(sb.toString() + s"\n See more: $engineLog")
               line = reader.readLine()
               while (sb.length < maxErrorSize && line != null &&
-                (line.startsWith("\tat ") || line.startsWith("Caused by: "))) {
+                (containsIgnoreCase(line, "Exception:") ||

Review comment:
       Make sense, let's change it and wait for UT result.




-- 
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-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org