1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00

Fix stack when looking for GNS3 VM with player installed

Fix #778
This commit is contained in:
Julien Duponchelle 2016-11-15 18:15:41 +01:00
parent 3c384a7bf0
commit 89bbe0ef1b
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -90,8 +90,10 @@ class VMwareGNS3VM(BaseGNS3VM):
"""
List all VMware VMs
"""
return (yield from self._vmware_manager.list_vms())
try:
return (yield from self._vmware_manager.list_vms())
except VMwareError as e:
raise GNS3VMError("Could not list VMware VMs: {}".format(str(e)))
@asyncio.coroutine
def start(self):