Use getErrorMessage to get exception messages in python installation code. (#4730)

This commit is contained in:
Cory Rivera
2019-03-27 12:14:42 -07:00
committed by GitHub
parent 46b7afe558
commit 37ab493b78

View File

@@ -260,7 +260,7 @@ export default class JupyterServerInstallation {
updateConfig(); updateConfig();
}) })
.catch(err => { .catch(err => {
let errorMsg = msgDependenciesInstallationFailed(err); let errorMsg = msgDependenciesInstallationFailed(utils.getErrorMessage(err));
op.updateStatus(azdata.TaskStatus.Failed, errorMsg); op.updateStatus(azdata.TaskStatus.Failed, errorMsg);
this.apiWrapper.showErrorMessage(errorMsg); this.apiWrapper.showErrorMessage(errorMsg);
this._installReady.reject(errorMsg); this._installReady.reject(errorMsg);