Skip to content

Commit

Permalink
Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
eliascarv committed Jul 29, 2024
1 parent 2c76f86 commit b95e68f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/GADM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ function download(country; version="4.1")
catch e
if e isa HTTP.StatusError && e.status == 404
throw(ArgumentError("country code \"$country\" not found, please provide a standard ISO 3 country code"))
else
rethrow()
end
rethrow()
end
end
end
Expand Down

0 comments on commit b95e68f

Please sign in to comment.