mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Use logException instead of just log for project loading
CURA-1263
This commit is contained in:
parent
bc8a9c30cf
commit
7ed5a7768a
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue