Merge branch '4.7' of github.com:Ultimaker/Cura into 4.7

This commit is contained in:
Jaime van Kessel 2020-08-11 11:38:31 +02:00
commit e42369179f
No known key found for this signature in database
GPG key ID: 3710727397403C91
62 changed files with 186 additions and 176 deletions

View file

@ -62,7 +62,8 @@ class CuraStackBuilder:
for position in extruder_dict:
try:
cls.createExtruderStackWithDefaultSetup(new_global_stack, position)
except IndexError:
except IndexError as e:
Logger.logException("e", "Failed to create an extruder stack for position {pos}: {err}".format(pos = position, err = str(e)))
return None
for new_extruder in new_global_stack.extruderList: # Only register the extruders if we're sure that all of them are correct.