diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-12-17 19:01:57 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-12-17 19:01:57 +0000 |
commit | 2043ba8fba93b356def4bf37ae5b22c0ffc86891 (patch) | |
tree | 663eb135732870e5dfb29ae6042ad61301fdc98c /net | |
parent | 3992d26de2a78bc803a3edad65fc57ae825737d3 (diff) | |
download | prosody-2043ba8fba93b356def4bf37ae5b22c0ffc86891.tar.gz prosody-2043ba8fba93b356def4bf37ae5b22c0ffc86891.zip |
xmppserver_listener: Make log messages during SRV retries clearer
Diffstat (limited to 'net')
-rw-r--r-- | net/xmppserver_listener.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xmppserver_listener.lua b/net/xmppserver_listener.lua index c7e02ec5..37f2470c 100644 --- a/net/xmppserver_listener.lua +++ b/net/xmppserver_listener.lua @@ -152,9 +152,9 @@ function xmppserver.disconnect(conn, err) local session = sessions[conn]; if session then if err and err ~= "closed" and session.srv_hosts then - (session.log or log)("debug", "s2s connection closed unexpectedly"); + (session.log or log)("debug", "s2s connection attempt failed: %s", err); if s2s_attempt_connect(session, err) then - (session.log or log)("debug", "...so we're going to try again"); + (session.log or log)("debug", "...so we're going to try another target"); return; -- Session lives for now end end |