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:
Marek Marczykowski-Górecki 2015-12-22 01:53:53 +01:00
parent bee84b83a1
commit 56e6c01917
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -101,7 +101,7 @@ class QfileDaemonDvm:
try:
dispvm.start()
except (MemoryError, QubesException) as e:
tray_notify_error(e)
tray_notify_error(str(e))
raise
if vm.qid != 0:
# if need to enable/disable netvm, do it while DispVM is alive