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

If the GNS3 VM as failed to start reset his status

This commit is contained in:
Julien Duponchelle 2017-02-27 12:03:26 +01:00
parent 9c71e96fd4
commit 8fd59c7967
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

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