dispvm: convert exception object to string - otherwise it will not be visible
tray_notify_error can't handle arbitrary object. Fixes QubesOS/qubes-issues#1457
This commit is contained in:
parent
bee84b83a1
commit
56e6c01917
@ -101,7 +101,7 @@ class QfileDaemonDvm:
|
|||||||
try:
|
try:
|
||||||
dispvm.start()
|
dispvm.start()
|
||||||
except (MemoryError, QubesException) as e:
|
except (MemoryError, QubesException) as e:
|
||||||
tray_notify_error(e)
|
tray_notify_error(str(e))
|
||||||
raise
|
raise
|
||||||
if vm.qid != 0:
|
if vm.qid != 0:
|
||||||
# if need to enable/disable netvm, do it while DispVM is alive
|
# if need to enable/disable netvm, do it while DispVM is alive
|
||||||
|
Loading…
Reference in New Issue
Block a user