diff --git a/sleekxmpp/xmlstream/resolver.py b/sleekxmpp/xmlstream/resolver.py index 16f8a7ad..75ba50d1 100644 --- a/sleekxmpp/xmlstream/resolver.py +++ b/sleekxmpp/xmlstream/resolver.py @@ -210,6 +210,10 @@ def get_AAAA(host, resolver=None): log.debug("DNS: Error retreiving AAAA address " + \ "info for %s." % host) return [] + except OSError: + log.debug("DNS: Error retreiving AAAA address " + \ + "info for %s." % host) + return [] # Using dnspython: try: