Commit 7c604358 by Bach Dániel

vm: handle cleanup errors in SaveAsTemplateOperation

parent f03b1685
...@@ -682,7 +682,7 @@ class SaveAsTemplateOperation(InstanceOperation): ...@@ -682,7 +682,7 @@ class SaveAsTemplateOperation(InstanceOperation):
with_shutdown=True, clone=False, task=None, **kwargs): with_shutdown=True, clone=False, task=None, **kwargs):
try: try:
self.instance._cleanup(parent_activity=activity, user=user) self.instance._cleanup(parent_activity=activity, user=user)
except Instance.WrongStateError: except:
pass pass
if with_shutdown: if with_shutdown:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment