Add more debug informations if VM failed to start

Fix #754
This commit is contained in:
Julien Duponchelle committed 2016-11-18 16:19:58 +01:00
1 parent 434f6a70dd
commit d2564cee9b
1 file changed
+1
+1
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,