Merge branch 'master' of github.com:Ultimaker/Cura

This commit is contained in:
Jack Ha 2016-12-08 12:45:50 +01:00
commit ab16722047

View File

@ -349,7 +349,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
global_stack = stack global_stack = stack
Job.yieldThread() Job.yieldThread()
except: except:
Logger.log("w", "We failed to serialize the stack. Trying to clean up.") Logger.logException("w", "We failed to serialize the stack. Trying to clean up.")
# Something went really wrong. Try to remove any data that we added. # Something went really wrong. Try to remove any data that we added.
for container in containers_to_add: for container in containers_to_add:
self._container_registry.getInstance().removeContainer(container.getId()) self._container_registry.getInstance().removeContainer(container.getId())