Skip to content

Commit 3e55156

Browse files
committed
When switch config fails log infor message and continue
1 parent df56446 commit 3e55156

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

browser/model/cdk.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ class CDKInstall extends InstallableItem {
5757
return Util.writeFile(path.join(os.tmpdir(), 'rd-devsuite-vswitch.ps1'), this.createHypervSwitch());
5858
}).then(() => {
5959
return installer.exec(`powershell -ExecutionPolicy Bypass -File ${path.join(os.tmpdir(), 'rd-devsuite-vswitch.ps1')}`);
60+
}).catch(() => {
61+
Logger.info(this.keyName + ' - Could not configure HYPERV_VIRTUAL_SWITCH env variable, please do it manually before starting minishift');
6062
});
6163
} else if (xh && xh.hasOption('detected')) {
6264
driverName = 'xhyve';

0 commit comments

Comments
 (0)