Do not stop saving IOS router or IOU configs when there is an exception while a project is committed.

This commit is contained in:
grossmj committed 2015-06-08 11:32:00 -06:00
1 parent 815b7d226c
commit c7ea8517a1
2 files changed
+13 -2

No files matched your search

+5 -1
View File
@@ -213,7 +213,11 @@ class Dynamips(BaseManager):
# save the configs when the project is committed
for vm in self._vms.copy().values():
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
def dynamips_path(self):