Commit 4395d49b by Szeberényi Imre

exception fix

parent 829580ea
......@@ -185,6 +185,8 @@ class Client:
running_vms.append(args.name)
except psutil.NoSuchProcess:
logger.warning('Process %d lost.', entry.pid)
except TypeError:
logger.warning('ParseError %s.', entry.cmdline())
interfaces = psutil.network_io_counters(pernic=True)
for interface, data in interfaces.iteritems():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment