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 2022/01/19 01:23:59 UTC
[GitHub] [incubator-kyuubi] ulysses-you commented on a change in pull request #1781: [KYUUBI #1780] Add error log in Rest be
ulysses-you commented on a change in pull request #1781:
URL: https://github.com/apache/incubator-kyuubi/pull/1781#discussion_r787277937
##########
File path: kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/OperationsResource.scala
##########
@@ -53,8 +54,10 @@ private[v1] class OperationsResource extends ApiRequestContext {
val operation = fe.be.sessionManager.operationManager.getOperation(opHandle)
KyuubiOperationEvent(operation.asInstanceOf[KyuubiOperation])
} catch {
- case NonFatal(_) =>
- throw new NotFoundException(s"Error getting an operation event")
+ case NonFatal(e) =>
+ val errorMsg = s"Error getting an operation event"
Review comment:
nit: no `s` before `""`
--
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