Fixes #44956: Propagate extension activation errors in the activate() calls

This commit is contained in:
Alex Dima
2018-04-06 11:55:35 +02:00
parent 36358924de
commit 8e5a374372
3 changed files with 27 additions and 9 deletions

View File

@@ -710,7 +710,7 @@ class Extension<T> implements vscode.Extension<T> {
}
activate(): Thenable<T> {
return this._extensionService.activateById(this.id, new ExtensionActivatedByAPI(false)).then(() => this.exports);
return this._extensionService.activateByIdWithErrors(this.id, new ExtensionActivatedByAPI(false)).then(() => this.exports);
}
}