Software /
code /
prosody
Changeset
1468:83b297a412a2
s2smanager: Log the hostname and address when s2s connection fails instantly
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 03 Jul 2009 14:58:11 +0100 |
parents | 1467:fc420e9585c2 |
children | 1469:9f2b6e2bc498 |
files | core/s2smanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/s2smanager.lua Fri Jul 03 04:24:30 2009 +0100 +++ b/core/s2smanager.lua Fri Jul 03 14:58:11 2009 +0100 @@ -238,7 +238,7 @@ conn:settimeout(0); local success, err = conn:connect(connect_host, connect_port); if not success and err ~= "timeout" then - log("warn", "s2s connect() failed: %s", err); + log("warn", "s2s connect() to %s (%s:%d) failed: %s", host_session.to_host, connect_host, connect_port, err); return false; end