Skip to content

No difference in UI between NotebookCellOutputItem.error vs. NotebookCellOutputItem.text  #15855

Open
@anthonykim1

Description

@anthonykim1

When defining the execution handler to register notebook controller from the extension side (Python extension in this specific case), I've noticed there was no difference between the output in terms of the execution message UI or the executing cell itself, of the API NotebookCellOutputItem.error versus using NotebookCellOutputItem.text.

I thought perhaps maybe there would be even a slight difference when there is some sort of failure (other than the red circle that marks the failure of execution), but do not seem to find any obvious differences in terms of the style of the error(I suspected maybe it would handle the coloring of the error output better so that messages are non-white and of red color) output themselves. Would this be a bug?

Is everything just basically dependent for implementer of the execution handler to correctly call exec.end(true or false);

Was reading the API doc and came across application/vnd.code.notebook.error mime type, but wasnt too sure what this .error mime type would be.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugnotebook-output

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions