You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "pan3793 (via GitHub)" <gi...@apache.org> on 2023/05/05 02:10:15 UTC
[GitHub] [kyuubi] pan3793 commented on a diff in pull request #4787: Log error when handling session exception
pan3793 commented on code in PR #4787:
URL: https://github.com/apache/kyuubi/pull/4787#discussion_r1185649427
##########
kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSession.scala:
##########
@@ -49,6 +49,7 @@ abstract class KyuubiSession(
f
} catch {
case t: Throwable =>
+ error(s"Handling $user session[$handle] exception:", t)
Review Comment:
for exceptions that will be re-thrown, seems not need to print stacktrace here
##########
kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSession.scala:
##########
@@ -49,6 +49,7 @@ abstract class KyuubiSession(
f
} catch {
case t: Throwable =>
+ error(s"Handling $user session[$handle] exception:", t)
Review Comment:
for exceptions that will be re-thrown, seems no need to print stacktrace 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-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org