Windows: Catch more PDB URL errors

This commit is contained in:
Mike Auty
2021-01-24 16:44:39 +00:00
parent ae872591f7
commit 2c077c08c2
@@ -935,7 +935,7 @@ class PdbRetreiver:
try:
vollog.debug("Attempting to retrieve {}".format(url + suffix))
result = resources.ResourceAccessor(progress_callback).open(url + suffix)
except error.HTTPError as excp:
except (error.HTTPError, error.URLError) as excp:
vollog.debug("Failed with {}".format(excp))
if result:
break