Software /
code /
prosody
Changeset
2370:d783c8de379d
xmppserver_listener: Make log messages during SRV retries clearer
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 17 Dec 2009 19:01:57 +0000 |
parents | 2369:fe2819d281d5 |
children | 2371:7ddb8ce0cd0b |
files | net/xmppserver_listener.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/net/xmppserver_listener.lua Thu Dec 17 19:00:36 2009 +0000 +++ b/net/xmppserver_listener.lua Thu Dec 17 19:01:57 2009 +0000 @@ -152,9 +152,9 @@ 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