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:
parent
5efc5684ba
commit
e3b1eee85b
@ -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:
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user