mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Add logs for debugging
CURA-8610
This commit is contained in:
parent
5d0e4238d5
commit
4e80d170d1
2 changed files with 9 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ from UM.Logger import Logger
|
|||
from UM.Math.Matrix import Matrix
|
||||
from UM.Application import Application
|
||||
from UM.Message import Message
|
||||
from UM.Resources import Resources
|
||||
from UM.Scene.SceneNode import SceneNode
|
||||
|
||||
from cura.CuraApplication import CuraApplication
|
||||
|
|
@ -276,6 +277,8 @@ class ThreeMFWriter(MeshWriter):
|
|||
|
||||
if not package_data:
|
||||
# We failed to find the package for this material
|
||||
|
||||
Logger.info(f"Secure resource paths searched for: {Resources.getSecureSearchPaths()}")
|
||||
message = Message(catalog.i18nc("@error:material",
|
||||
"It was not possible to store material package information in project file: {material}. This project may not open correctly on other systems.".format(material=extruder.getName())),
|
||||
title=catalog.i18nc("@info:title", "Failed to save material package information"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue