Skip to content

Commit

Permalink
fix: correct error message (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsstevenson authored Nov 29, 2024
1 parent 29de5a4 commit 24117fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wags_tails/drugsatfda.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _get_latest_version() -> str:
try:
date = r_json["results"]["drug"]["drugsfda"]["export_date"]
except KeyError as e:
msg = "Unable to parse latest DrugBank version number from releases API endpoint"
msg = "Unable to parse latest Drugs@FDA version number from releases API endpoint"
raise RemoteDataError(msg) from e
return (
datetime.datetime.strptime(date, "%Y-%m-%d")
Expand Down

0 comments on commit 24117fe

Please sign in to comment.