mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-08 17:29:01 +08:00
Fix logging
Specify the fully qualified name. Contributes to issues CURA-340 and CURA-1278.
This commit is contained in:
parent
8feed746bf
commit
a9376cffd1
@ -70,7 +70,7 @@ class ExtruderManager(QObject):
|
||||
if extruder_definition:
|
||||
extruder_definition = extruder_definition[0]
|
||||
else:
|
||||
Logger.log("w", "Machine %s references an extruder with ID %s, which doesn't exist.", machine_definition.getName(), extruder_definition_id)
|
||||
UM.Logger.log("w", "Machine %s references an extruder with ID %s, which doesn't exist.", machine_definition.getName(), extruder_definition_id)
|
||||
continue
|
||||
name = container_registry.uniqueName(extruder_definition_id) #Make a name based on the ID of the definition.
|
||||
if not container_registry.findContainerStacks(id = name): #Doesn't exist yet.
|
||||
|
Loading…
x
Reference in New Issue
Block a user