We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
executed
In upstream JupyterLab code KernelError information is included when execution fails
KernelError
https://github.com/jupyterlab/jupyterlab/blob/653c22621f996249862093d0bb0f23b1279b0f52/packages/notebook/src/cellexecutor.ts#L94-L129
try { const reply = await CodeCell.execute( cell as CodeCell // ... ); // ... ran = (() => { // ... if (reply.content.status === 'ok') { // ... return true; } else { throw new KernelError(reply.content); } })(); } catch (reason) { if (cell.isDisposed || reason.message.startsWith('Canceled')) { ran = false; } else { onCellExecuted({ cell, success: false, error: reason }); throw reason; } } if (ran) { onCellExecuted({ cell, success: true }); }
This is not the case with jupyter-server-nbmodel which omits the error information:
jupyter-server-nbmodel
error
jupyter-server-nbmodel/src/executor.ts
Lines 130 to 144 in 0a6c683
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In upstream JupyterLab code
KernelError
information is included when execution failshttps://github.com/jupyterlab/jupyterlab/blob/653c22621f996249862093d0bb0f23b1279b0f52/packages/notebook/src/cellexecutor.ts#L94-L129
This is not the case with
jupyter-server-nbmodel
which omits theerror
information:jupyter-server-nbmodel/src/executor.ts
Lines 130 to 144 in 0a6c683
The text was updated successfully, but these errors were encountered: