1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-23 23:38:21 +00:00

Improve autostart logging

This commit is contained in:
Julien Duponchelle 2016-12-01 09:24:52 +01:00
parent 5efc5684ba
commit e3b1eee85b
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
2 changed files with 2 additions and 1 deletions

View File

@ -361,7 +361,7 @@ class VMware(BaseManager):
def execute(self, subcommand, args, timeout=120, log_level=logging.INFO):
trial = 2
while trial:
while True:
try:
return (yield from self._execute(subcommand, args, timeout=timeout, log_level=log_level))
except VMwareError as e:

View File

@ -240,6 +240,7 @@ class GNS3VM:
name="GNS3 VM ({})".format(self.current_engine().vmname),
host=None,
force=True)
log.error("Can't start the GNS3 VM: {}", str(e))
@asyncio.coroutine
def exit_vm(self):