We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1c1082 commit 95c2655Copy full SHA for 95c2655
src/resources/jupyter/jupyter.py
@@ -19,6 +19,7 @@
19
20
from log import log_init, log, log_error, trace
21
from notebook import notebook_execute, RestartKernel
22
+from nbclient.exceptions import CellExecutionError
23
24
import asyncio
25
if sys.platform == 'win32':
@@ -241,8 +242,7 @@ def run_notebook(options, status):
241
242
loc = msg.find(kCellExecutionError)
243
if loc != -1:
244
msg = msg[loc + len(kCellExecutionError):]
- sys.stderr.write("\n\n" + msg + "\n")
245
- sys.stderr.flush()
+ status("\n\n" + msg + "\n")
246
sys.exit(1)
247
248
0 commit comments