Skip to content

Commit

Permalink
more trace logging, #123700
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed May 12, 2021
1 parent dd924d7 commit 2f2ca2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vs/workbench/api/common/extHostNotebookKernels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape {
} else {
obj.associatedNotebooks.delete(notebook.uri);
}
this._logService.trace(`NotebookController[${handle}]`, notebook.uri.toString(), value);
this._logService.trace(`NotebookController[${handle}] ASSOCIATE notebook`, notebook.uri.toString(), value);
// send event
obj.onDidChangeSelection.fire({
selected: value,
Expand All @@ -244,9 +244,11 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape {
}

try {
this._logService.trace(`NotebookController[${handle}] EXECUTE cells`, document.uri.toString(), cells.length);
await obj.controller.executeHandler.call(obj.controller, cells, document.apiNotebook, obj.controller);
} catch (err) {
//
this._logService.error(`NotebookController[${handle}] execute cells FAILED`, err);
console.error(err);
}
}
Expand Down

0 comments on commit 2f2ca2e

Please sign in to comment.