Skip to content

Commit

Permalink
Improve autostart logging
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-duponchelle committed Dec 1, 2016
1 parent 5efc568 commit e3b1eee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gns3server/compute/vmware/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def host_type(self):
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:
Expand Down
1 change: 1 addition & 0 deletions gns3server/controller/gns3vm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ def auto_start_vm(self):
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):
Expand Down

0 comments on commit e3b1eee

Please sign in to comment.