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 2019/12/13 08:12:15 UTC
[zeppelin] branch master updated: [hotfix] error message is
duplicated
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 a9ebfb4 [hotfix] error message is duplicated
a9ebfb4 is described below
commit a9ebfb4469d525e4951e3b8ddfb2be34e6d74fef
Author: Jeff Zhang <zj...@apache.org>
AuthorDate: Fri Dec 13 16:11:31 2019 +0800
[hotfix] error message is duplicated
---
.../src/main/java/org/apache/zeppelin/notebook/Paragraph.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java b/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java
index 5bc4dd3..c16a9ec 100644
--- a/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java
+++ b/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java
@@ -557,7 +557,7 @@ public class Paragraph extends JobWithProgressPoller<InterpreterResult> implemen
InterpreterContext.remove();
}
} catch (Exception e) {
- return new InterpreterResult(Code.ERROR, ExceptionUtils.getStackTrace(e));
+ return new InterpreterResult(Code.ERROR, e.getMessage());
}
}