Software /
code /
prosody
Changeset
2779:87b66be6d514
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 | 2778:d591e2c90807 |
children | 2780:f8232abcab2a |
files | net/xmppserver_listener.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/net/xmppserver_listener.lua Wed Dec 16 00:11:54 2009 +0500 +++ 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