mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Log error on failed machine creation
An error message will be generated when machine creation fails while switching printer types in the printer configuration menu. CURA-6127
This commit is contained in:
parent
6aa8d060d5
commit
da1a5d1be6
1 changed files with 1 additions and 0 deletions
|
|
@ -1241,6 +1241,7 @@ class MachineManager(QObject):
|
|||
if not new_machine:
|
||||
new_machine = CuraStackBuilder.createMachine(machine_definition_id + "_sync", machine_definition_id)
|
||||
if not new_machine:
|
||||
Logger.log("e", "Failed to create new machine when switching configuration.")
|
||||
return
|
||||
|
||||
for metadata_key in self._global_container_stack.getMetaData():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue