Skip to content

Commit 856a5ad

Browse files
authored
Merge pull request microsoft#88714 from GabeDeBacker/user/gabrield/throwExceptionOnExtensionInstallFail
Allows extension install and uninstall command execution to throw exceptions back to caller
2 parents 2c35d9c + 60d8dde commit 856a5ad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/vs/workbench/contrib/extensions/browser/extensions.contribution.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ CommandsRegistry.registerCommand({
252252
}
253253
} catch (e) {
254254
onUnexpectedError(e);
255+
throw e;
255256
}
256257
}
257258
});
@@ -284,6 +285,7 @@ CommandsRegistry.registerCommand({
284285
await extensionManagementService.uninstall(extensionToUninstall, true);
285286
} catch (e) {
286287
onUnexpectedError(e);
288+
throw e;
287289
}
288290
}
289291
});

0 commit comments

Comments
 (0)