hydro/hydrological: fix except genérico -> (IndexError, AttributeError)

This commit is contained in:
2026-05-02 23:34:53 +02:00
parent e0a0dc2f0d
commit a515f31726
+1 -1
View File
@@ -159,7 +159,7 @@ def calculate_incenter(facet):
"""Calcula el incentro usando la función nativa de FreeCAD"""
try:
return facet.InCircle[0] # (x, y, z)
except:
except (IndexError, AttributeError):
return None