From fd15b932611ef5295d8a700ac57be691c166b1ac Mon Sep 17 00:00:00 2001 From: rebornix Date: Tue, 24 Nov 2020 11:12:15 -0800 Subject: [PATCH] remove layer breaker --- src/vs/workbench/api/common/extHostNotebook.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/api/common/extHostNotebook.ts b/src/vs/workbench/api/common/extHostNotebook.ts index 07e0673ae62..9cc0cf8d2c1 100644 --- a/src/vs/workbench/api/common/extHostNotebook.ts +++ b/src/vs/workbench/api/common/extHostNotebook.ts @@ -437,9 +437,9 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN } if (editorId) { - throw new Error(`Could NOT open editor for "${document.documentURI.toString()}" because another editor opened in the meantime.`); + throw new Error(`Could NOT open editor for "${notebookDocument.toString()}" because another editor opened in the meantime.`); } else { - throw new Error(`Could NOT open editor for "${document.documentURI.toString()}".`); + throw new Error(`Could NOT open editor for "${notebookDocument.toString()}".`); } } -- GitLab