diff options
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/xmlstream/resolver.py | 4 |
1 files changed, 4 insertions, 0 deletions
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: |