Skip to content

Commit

Permalink
check status for cell
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Jun 14, 2024
1 parent b651dcc commit aecd3ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vscode/src/docsnotebook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ function activateNotebookExecutor(state: ExtensionState) {
schemas,
trace,
messages,
status,
} = res
const output = {
text,
Expand Down Expand Up @@ -240,7 +241,7 @@ function activateNotebookExecutor(state: ExtensionState) {
]),
].filter((o) => o)
)
execution.end(!error, Date.now())
execution.end(status === "success", Date.now())
} catch (e) {
await execution.replaceOutput([
new vscode.NotebookCellOutput([
Expand Down

0 comments on commit aecd3ec

Please sign in to comment.