Don't log race condition error (#14922)

This commit is contained in:
Charles Gagnon
2021-04-01 11:11:43 -07:00
committed by GitHub
parent 97ce7b9b67
commit 4c2969d4ca
3 changed files with 12 additions and 3 deletions

View File

@@ -1118,7 +1118,7 @@ export class NotebookModel extends Disposable implements INotebookModel {
}
await this.shutdownActiveSession();
} catch (err) {
this.logService.error('An error occurred when closing the notebook: {0}', getErrorMessage(err));
this.logService.error('An error occurred when closing the notebook: ', getErrorMessage(err));
}
}