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:
Cole Robinson 2010-04-12 17:46:45 -04:00
parent 2f59e36333
commit 819aa357a0

View File

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