diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-10-14 15:50:54 -0700 |
---|---|---|
committer | Nathan Fritz <nathan@andyet.net> | 2010-10-14 15:50:54 -0700 |
commit | dc001bb201268c5443c1be2a937d02a0c96ad4bb (patch) | |
tree | 21fca9b0f397d72cf20ae46013f93688c8dcd17b /sleekxmpp/xmlstream/xmlstream.py | |
parent | 0d0b963fe543169d069a2a69ae79735d404a2e33 (diff) | |
download | slixmpp-dc001bb201268c5443c1be2a937d02a0c96ad4bb.tar.gz slixmpp-dc001bb201268c5443c1be2a937d02a0c96ad4bb.tar.bz2 slixmpp-dc001bb201268c5443c1be2a937d02a0c96ad4bb.tar.xz slixmpp-dc001bb201268c5443c1be2a937d02a0c96ad4bb.zip |
deprecated jid, fulljid, server, user, resource properties and added boundjid JID
Diffstat (limited to 'sleekxmpp/xmlstream/xmlstream.py')
-rw-r--r-- | sleekxmpp/xmlstream/xmlstream.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index 97f71a22..bc79e1e8 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -266,8 +266,8 @@ class XMLStream(object): self.event("connected", direct=True) return True except Socket.error as serr: - error_msg = "Could not connect. Socket Error #%s: %s" - logging.error(error_msg % (serr.errno, serr.strerror)) + error_msg = "Could not connect to %s:%s. Socket Error #%s: %s" + logging.error(error_msg % (self.address[0], self.address[1], serr.errno, serr.strerror)) time.sleep(1) return False |