Skip to content
Snippets Groups Projects
Commit e91cb175 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-554: Fix exception

parent 5bb65a8d
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ class delay_calculator:
def convert(self, direction, antenna_itrf: list([float])):
# explicitly check validity to get a proper error message
if not self.is_valid_direction(direction):
raise ValueError(f"Could not convert direction {direction} into a pointing") from e
raise ValueError(f"Invalid direction: {direction}")
# obtain the direction vector for a specific pointing
pointing = self.measure.direction(*direction)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment