turboFei commented on code in PR #6994:
URL: https://github.com/apache/kyuubi/pull/6994#discussion_r2009201237


##########
kyuubi-common/src/main/scala/org/apache/kyuubi/operation/AbstractOperation.scala:
##########
@@ -124,6 +124,7 @@ abstract class AbstractOperation(session: Session) extends 
Operation with Loggin
 
   protected def setOperationException(opEx: KyuubiSQLException): Unit = {
     this.operationException = opEx
+    withOperationLog(error(s"Error operating $opType: ${opEx.getMessage}", 
opEx))

Review Comment:
   Due I do not find the batch operation exception from kyuubi log(I got it 
from kyuubi operation event stored in elasticsearch), so I think we can log the 
ex here.
   
   



-- 
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: notifications-unsubscr...@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org
For additional commands, e-mail: notifications-h...@kyuubi.apache.org

Reply via email to