Draft: LGTM - don't catch BaseException

This commit is contained in:
Chris Hennes
2021-09-19 14:36:38 -05:00
parent c5491d64e2
commit f99059e371
5 changed files with 6 additions and 6 deletions

View File

@@ -521,7 +521,7 @@ def calculate_placement(globalRotation,
try:
t = edge.tangentAt(get_parameter_from_v0(edge, offset))
t.normalize()
except:
except Exception:
_wrn(translate("draft","Cannot calculate path tangent. Copy not aligned."))
return placement