You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Alexander Bezzubov (JIRA)" <ji...@apache.org> on 2016/07/05 07:07:11 UTC
[jira] [Created] (ZEPPELIN-1114) Python: improve paragraph ERROR
status detection
Alexander Bezzubov created ZEPPELIN-1114:
--------------------------------------------
Summary: Python: improve paragraph ERROR status detection
Key: ZEPPELIN-1114
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1114
Project: Zeppelin
Issue Type: Improvement
Components: python-interpreter
Reporter: Alexander Bezzubov
As discussed in [initial implementation of this feature|https://github.com/apache/zeppelin/pull/1124#discussion_r69513353] right now a code like
{code}
print("there is no Error: ok")
{code}
will trigger a false positive paragraph ERROR status.
There are at least two possible approaches to improve here:
- put user code under {{try ... except}}
- or re-direct {{sys.stderr}} and check for non-empty value
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)