mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 03:29:00 +08:00
More specific exception catching
So that we can still find programming errors in this code. Contributes to issue CURA-4606.
This commit is contained in:
parent
d904f677bc
commit
1db8c967f2
@ -101,7 +101,7 @@ class QualitySettingsModel(ListModel):
|
|||||||
if quality_changes_node is not None: # it can be None if number of extruders are changed during runtime
|
if quality_changes_node is not None: # it can be None if number of extruders are changed during runtime
|
||||||
try:
|
try:
|
||||||
quality_containers.insert(0, quality_changes_node.getContainer())
|
quality_containers.insert(0, quality_changes_node.getContainer())
|
||||||
except:
|
except RuntimeError:
|
||||||
# FIXME: This is to prevent incomplete update of QualityManager
|
# FIXME: This is to prevent incomplete update of QualityManager
|
||||||
Logger.logException("d", "Failed to get container for quality changes node %s", quality_changes_node)
|
Logger.logException("d", "Failed to get container for quality changes node %s", quality_changes_node)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user