Skip to content

Commit

Permalink
Update update target not found error message
Browse files Browse the repository at this point in the history
Co-authored-by: Jonny Saunders <JLSaunders987@gmail.com>
  • Loading branch information
t-sasatani and sneakers-the-rat authored Nov 6, 2024
1 parent d9543f8 commit a0116b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniscope_io/models/devupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ def validate_target(cls, value: str) -> UpdateTarget:
try:
return UpdateTarget[value]
except KeyError as e:
raise ValueError(f"Target {value} not found.") from e
raise ValueError(f"Target {value} not found, must be a member of UpdateTarget: {list(UpdateTarget.__members__.keys())}.") from e

0 comments on commit a0116b6

Please sign in to comment.