From 81d95f3de9aa85722b72baa02d4133a662ec623b Mon Sep 17 00:00:00 2001 From: donoban Date: Sat, 12 Dec 2020 00:08:49 +0100 Subject: [PATCH] Added try/except for starting netvm --- qubesmanager/qube_manager.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qubesmanager/qube_manager.py b/qubesmanager/qube_manager.py index 81cb9bd..3c77ad8 100644 --- a/qubesmanager/qube_manager.py +++ b/qubesmanager/qube_manager.py @@ -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