mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 12:19:03 +08:00
Use logException instead of just log for project loading
CURA-1263
This commit is contained in:
parent
bc8a9c30cf
commit
7ed5a7768a
@ -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…
x
Reference in New Issue
Block a user