Commit 26720779 authored by Benjamin Winger's avatar Benjamin Winger

Made the error message when a nofetch mod is not in the cache print the source, not the mod name

parent 10b6077f
......@@ -114,7 +114,7 @@ def download_source(mod, source: Source, check: bool = True) -> str:
return cached
elif not fetch:
# Mod cannot be fetched and is not already in cache. abort.
raise Exception("Mod {} not in cache and cannot be fetched".format(mod.ATOM))
raise Exception("Source {} not in cache and cannot be fetched".format(source))
parsedurl = urllib.parse.urlparse(source.url)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment