Fix bug where webview options weren't revived, causing URI lookup to fail (#2453)

This commit is contained in:
Kevin Cunnane
2018-09-06 18:00:23 -07:00
committed by GitHub
parent a68462c7cb
commit 287811f4ab
2 changed files with 10 additions and 1 deletions

View File

@@ -548,7 +548,7 @@ class ComponentWrapper implements sqlops.Component {
} else {
throw new Error(nls.localize('invalidIndex', 'The index is invalid.'));
}
this._proxy.$addToContainer(this._handle, this.id, config.toIItemConfig(), index).then(undefined, this.handleError);
this._proxy.$addToContainer(this._handle, this.id, config.toIItemConfig(), index).then(undefined, (err) => this.handleError(err));
}
public setLayout(layout: any): Thenable<void> {