You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2020/07/22 09:35:55 UTC

[zeppelin] 01/02: [hotfix] catch error in flink udf detection

This is an automated email from the ASF dual-hosted git repository.

zjffdu pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/zeppelin.git

commit c9527e0d5ece4f0377d7b2dc88ceb001a50eb814
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Wed Jul 22 17:31:10 2020 +0800

    [hotfix] catch error in flink udf detection
---
 .../main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink/interpreter/src/main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala b/flink/interpreter/src/main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala
index 2f397c1..30ec177 100644
--- a/flink/interpreter/src/main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala
+++ b/flink/interpreter/src/main/scala/org/apache/zeppelin/flink/FlinkScalaInterpreter.scala
@@ -499,7 +499,7 @@ class FlinkScalaInterpreter(val properties: Properties) {
             }
           }
         } catch {
-          case e : Exception =>
+          case e : Throwable =>
             LOGGER.info("Fail to inspect udf class: " + je.getName, e)
         }
       }