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

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


The following commit(s) were added to refs/heads/master by this push:
     new d4aa8e4  [MINOR] Remove annoying exception in PluginManager
d4aa8e4 is described below

commit d4aa8e463e23021f3618b598e30f94e63c1a77aa
Author: Jeff Zhang <zjf...@apache.org>
AuthorDate: Tue Jul 9 15:13:54 2019 +0800

    [MINOR] Remove annoying exception in PluginManager
---
 .../src/main/java/org/apache/zeppelin/plugin/PluginManager.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/zeppelin-zengine/src/main/java/org/apache/zeppelin/plugin/PluginManager.java 
b/zeppelin-zengine/src/main/java/org/apache/zeppelin/plugin/PluginManager.java
index 5f715c9..c3a2b9b 100644
--- 
a/zeppelin-zengine/src/main/java/org/apache/zeppelin/plugin/PluginManager.java
+++ 
b/zeppelin-zengine/src/main/java/org/apache/zeppelin/plugin/PluginManager.java
@@ -65,7 +65,7 @@ public class PluginManager {
               (Class.forName(notebookRepoClassName).newInstance());
       return notebookRepo;
     } catch (InstantiationException | IllegalAccessException | 
ClassNotFoundException e) {
-      LOGGER.warn("Fail to instantiate notebookrepo from classpath directly:" 
+ notebookRepoClassName, e);
+      LOGGER.warn("Fail to instantiate notebookrepo from classpath directly:" 
+ notebookRepoClassName);
     }
 
     String simpleClassName = 
notebookRepoClassName.substring(notebookRepoClassName.lastIndexOf(".") + 1);
@@ -109,7 +109,7 @@ public class PluginManager {
             (Class.forName(notebookRepoClassName).newInstance());
         return notebookRepo;
       } catch (InstantiationException | IllegalAccessException | 
ClassNotFoundException e) {
-        LOGGER.warn("Fail to instantiate notebookrepo from classpath 
directly:" + notebookRepoClassName, e);
+        LOGGER.warn("Fail to instantiate notebookrepo from classpath 
directly:" + notebookRepoClassName);
       }
     }
 

Reply via email to