Ignore more errors when spidering.
This commit is contained in:
@@ -124,6 +124,10 @@ def _spider(args):
|
|||||||
if depth == 1:
|
if depth == 1:
|
||||||
raise spack.error.NoNetworkConnectionError(e.reason, url)
|
raise spack.error.NoNetworkConnectionError(e.reason, url)
|
||||||
|
|
||||||
|
except Exception, e:
|
||||||
|
# Other types of errors are completely ignored.
|
||||||
|
pass
|
||||||
|
|
||||||
return pages
|
return pages
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user