Added try/except for starting netvm

This commit is contained in:
donoban 2020-12-12 00:08:49 +01:00
parent b29934b898
commit 81d95f3de9
No known key found for this signature in database
GPG Key ID: 141310D8E3ED08A5

View File

@ -861,7 +861,11 @@ class VmManagerWindow(ui_qubemanager.Ui_VmManagerWindow, QMainWindow):
if reply == QMessageBox.Yes:
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:
return