Commit 6fea7bae authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Geometry: Minor change.

Showing with 4 additions and 1 deletion
+4 -1
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment