diff options
author | Jake Basile <me@jakebasile.com> | 2013-07-18 08:25:28 -0500 |
---|---|---|
committer | Jake Basile <me@jakebasile.com> | 2013-07-18 08:25:28 -0500 |
commit | 262652992da659d6821ab1a250de0dffe6a6beaf (patch) | |
tree | 6c70e681f535ac8962be55d44624b39990e46590 /sleekxmpp | |
parent | eb63825dfd3a0435ff5168c7fa6e56ef628ebf11 (diff) | |
download | slixmpp-262652992da659d6821ab1a250de0dffe6a6beaf.tar.gz slixmpp-262652992da659d6821ab1a250de0dffe6a6beaf.tar.bz2 slixmpp-262652992da659d6821ab1a250de0dffe6a6beaf.tar.xz slixmpp-262652992da659d6821ab1a250de0dffe6a6beaf.zip |
Caught OSError when querying AAAA records.
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: |