Use logException instead of just log for project loading

CURA-1263
This commit is contained in:
Jaime van Kessel 2016-12-08 11:59:37 +01:00
parent bc8a9c30cf
commit 7ed5a7768a

View file

@ -349,7 +349,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
global_stack = stack
Job.yieldThread()
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.
for container in containers_to_add:
self._container_registry.getInstance().removeContainer(container.getId())