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
父節點 bee84b83a1
當前提交 56e6c01917
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 063938BA42CFA724

查看文件

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