mirror of https://gitlab.com/pamhyr/pamhyr2
Geometry: Minor change.
parent
9c2b2033ec
commit
6fea7baea2
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue