mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 21:58:59 +08:00
Show device name of failed machine creation in log
CURA-9277 Detect and Load Specific printers and Cloud Printer Types
This commit is contained in:
parent
35502e45fa
commit
54e9dbf827
@ -400,7 +400,7 @@ class CloudOutputDeviceManager:
|
||||
# We do not use use MachineManager.addMachine here because we need to set the cluster ID before activating it.
|
||||
new_machine = CuraStackBuilder.createMachine(device.name, device.printerType, show_warning_message=False)
|
||||
if not new_machine:
|
||||
Logger.log("e", "Failed creating a new machine")
|
||||
Logger.error(f"Failed creating a new machine for {device.name}")
|
||||
return False
|
||||
|
||||
self._setOutputDeviceMetadata(device, new_machine)
|
||||
|
Loading…
x
Reference in New Issue
Block a user