aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mirrorselect/selectors.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/mirrorselect/selectors.py b/mirrorselect/selectors.py
index 74405a7..35051ee 100644
--- a/mirrorselect/selectors.py
+++ b/mirrorselect/selectors.py
@@ -460,6 +460,11 @@ class Deep(object):
except TimeoutException:
self.output.write(('deeptime(): connection to host %s '
'timed out for ip %s\n') % (url_parts.hostname, ip), 2)
+ except Exception as e: # Add general exception to catch any other errors
+ self.output.write(('deeptime(): connection to host %s '
+ 'errored for ip %s\n %s\n'
+ ' Please file a bug for this error at bugs.gentoo.org')
+ % (url_parts.hostname, ip, e), 2)
return f, test_url, early_out