mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
# 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)
|
new_machine = CuraStackBuilder.createMachine(device.name, device.printerType, show_warning_message=False)
|
||||||
if not new_machine:
|
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
|
return False
|
||||||
|
|
||||||
self._setOutputDeviceMetadata(device, new_machine)
|
self._setOutputDeviceMetadata(device, new_machine)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue