core/block: handle any QubesDB exception

This commit is contained in:
Marek Marczykowski-Górecki 2015-03-29 23:47:39 +02:00
parent 2e8624e322
commit 30fadfa994

View File

@ -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 {}