mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-25 06:03:55 +03:00
console: Don't through traceback if we can't read error fd.
This is racy and best effort, so don't log errors if we fail.
This commit is contained in:
parent
2f59e36333
commit
819aa357a0
@ -573,7 +573,11 @@ class vmmConsolePages(gobject.GObject):
|
||||
errfd = self.vncTunnel[1]
|
||||
errout = ""
|
||||
while True:
|
||||
new = errfd.recv(1024)
|
||||
try:
|
||||
new = errfd.recv(1024)
|
||||
except:
|
||||
break
|
||||
|
||||
if not new:
|
||||
break
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user