mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 14:13:55 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue