Added try/except for starting netvm
This commit is contained in:
parent
b29934b898
commit
81d95f3de9
@ -861,7 +861,11 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow):
|
|||||||
|
|
||||||
if reply == QMessageBox.Yes:
|
if reply == QMessageBox.Yes:
|
||||||
with common_threads.busy_cursor():
|
with common_threads.busy_cursor():
|
||||||
netvm.vm.start()
|
try:
|
||||||
|
netvm.vm.start()
|
||||||
|
except exc.QubesException as ex:
|
||||||
|
QMessageBox.warning(self, "Error starting Qube!", str(ex))
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user