mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-13 01:20:58 +00:00
Do not stop saving IOS router configs when there is an exception while a project is committed.
This commit is contained in:
parent
a1bc815f63
commit
9f1705a4f1
@ -210,7 +210,11 @@ class Dynamips(BaseManager):
|
|||||||
# save the configs when the project is committed
|
# save the configs when the project is committed
|
||||||
for vm in self._vms.copy().values():
|
for vm in self._vms.copy().values():
|
||||||
if vm.project.id == project.id:
|
if vm.project.id == project.id:
|
||||||
yield from vm.save_configs()
|
try:
|
||||||
|
yield from vm.save_configs()
|
||||||
|
except DynamipsError as e:
|
||||||
|
log.warning(e)
|
||||||
|
continue
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def dynamips_path(self):
|
def dynamips_path(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user