Skip to content

Commit

Permalink
Remove unnecessary exception
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 11, 2023
1 parent 0416565 commit a86c0d4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lvmapi/routers/telescopes.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ async def get_pointing(telescope: Telescopes, frame: Frames = "radec"):
elif frame == "altaz":
ax0 = status_cmd.replies.get("altitude_degs")
ax1 = status_cmd.replies.get("azimuth_degs")
else:
raise ValueError(f"Invalid frame {frame}")

except Exception:
raise HTTPException(
Expand Down

0 comments on commit a86c0d4

Please sign in to comment.