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 8acfd17 [minor] Add output type in jupyterkernelclient's onError 8acfd17 is described below commit 8acfd177bea81d2cbe3698c39fd9b3e74f83313d Author: Jeff Zhang <zjf...@apache.org> AuthorDate: Tue Feb 4 12:40:04 2020 +0800 [minor] Add output type in jupyterkernelclient's onError --- .../src/main/java/org/apache/zeppelin/jupyter/JupyterKernelClient.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zeppelin-jupyter-interpreter/src/main/java/org/apache/zeppelin/jupyter/JupyterKernelClient.java b/zeppelin-jupyter-interpreter/src/main/java/org/apache/zeppelin/jupyter/JupyterKernelClient.java index a551d85..cfda429 100644 --- a/zeppelin-jupyter-interpreter/src/main/java/org/apache/zeppelin/jupyter/JupyterKernelClient.java +++ b/zeppelin-jupyter-interpreter/src/main/java/org/apache/zeppelin/jupyter/JupyterKernelClient.java @@ -212,7 +212,8 @@ public class JupyterKernelClient { @Override public void onError(Throwable throwable) { try { - interpreterOutput.getInterpreterOutput().write(ExceptionUtils.getStackTrace(throwable)); + interpreterOutput.getInterpreterOutput().write("\n%text " + + ExceptionUtils.getStackTrace(throwable)); interpreterOutput.getInterpreterOutput().flush(); } catch (IOException e) { LOGGER.error("Unexpected IOException", e);