Merge pull request #88714 from GabeDeBacker/user/gabrield/throwExceptionOnExtensionInstallFail

Allows extension install and uninstall command execution to throw exceptions back to caller
This commit is contained in:
Sandeep Somavarapu 2020-01-24 21:58:36 +01:00 committed by GitHub
commit 856a5ad8ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,6 +252,7 @@ CommandsRegistry.registerCommand({
}
} catch (e) {
onUnexpectedError(e);
throw e;
}
}
});
@ -284,6 +285,7 @@ CommandsRegistry.registerCommand({
await extensionManagementService.uninstall(extensionToUninstall, true);
} catch (e) {
onUnexpectedError(e);
throw e;
}
}
});