From 30fadfa994d92ec00ff3a2f75d008316895e5db0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 29 Mar 2015 23:47:39 +0200 Subject: [PATCH] core/block: handle any QubesDB exception --- core/qubesutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/qubesutils.py b/core/qubesutils.py index 7cda5bed..f13348bf 100644 --- a/core/qubesutils.py +++ b/core/qubesutils.py @@ -245,7 +245,7 @@ def block_list_vm(vm, system_disks = False): try: untrusted_devices = vm.qdb.multiread('/qubes-block-devices/') - except DisconnectedError: + except Error: vm.refresh() return {}