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

Add more debug informations if VM failed to start

Fix #754
This commit is contained in:
Julien Duponchelle 2016-11-18 16:19:58 +01:00
parent 434f6a70dd
commit d2564cee9b
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -272,6 +272,7 @@ class GNS3VM:
yield from engine.start()
except Exception as e:
yield from self._controller.delete_compute("vm")
log.error("Can't start the GNS3 VM: {}", str(e))
raise e
yield from compute.update(name="GNS3 VM ({})".format(engine.vmname),
protocol=self.protocol,