diff --git a/src/GADM.jl b/src/GADM.jl index 3149c92..f1af25f 100644 --- a/src/GADM.jl +++ b/src/GADM.jl @@ -83,7 +83,7 @@ function download(country; version="4.1") 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() + throw(ErrorException("download failed due to internet and/or server issues")) end end end