We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b177848 commit 14301a7Copy full SHA for 14301a7
src/vs/workbench/api/common/extHostTreeViews.ts
@@ -701,8 +701,7 @@ class ExtHostTreeView<T> extends Disposable {
701
702
private validateTreeItem(extensionTreeItem: vscode.TreeItem) {
703
if (!TreeItem.isTreeItem(extensionTreeItem)) {
704
- // TODO: #154757 we should consider throwing, but let's wait and see if there are tons of reports of this first.
705
- console.log(`Extension ${this.extension.identifier.value} has provided an invalid tree item.`);
+ throw new Error(`Extension ${this.extension.identifier.value} has provided an invalid tree item.`);
706
}
707
708
0 commit comments