Geometry: Minor change.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-01-10 10:15:30 +01:00
1 parent 9c2b2033ec
commit 6fea7baea2
1 file changed
+4 -1
+4 -1
View File
@@ -309,7 +309,10 @@ class ProfileXYZ(Profile, SQLSubModel):
)
except Exception as e:
logger.debug(f"{e}")
raise IndexError(f"Invalid point name: {name}")
raise IndexError(
f"Invalid point name: {name} " +
f"for profile ({self.id}) kp = {self.kp}"
)
def add(self):
"""Add a new PointXYZ to profile.