mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Use getErrorMessage to get exception messages in python installation code. (#4730)
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user