diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-03 14:58:11 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-03 14:58:11 +0100 |
commit | 0bee1c3195055afb101b3a7da843bd71f7ef7132 (patch) | |
tree | 49f8e391610fdb2aeb3aa2d4304d6c876b69cbf6 /core/s2smanager.lua | |
parent | 43b36591419d29e9fc21a461346c665aec3846b5 (diff) | |
download | prosody-0bee1c3195055afb101b3a7da843bd71f7ef7132.tar.gz prosody-0bee1c3195055afb101b3a7da843bd71f7ef7132.zip |
s2smanager: Log the hostname and address when s2s connection fails instantly
Diffstat (limited to 'core/s2smanager.lua')
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 63605d5e..75bb5d36 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -238,7 +238,7 @@ function try_connect(host_session, connect_host, connect_port) 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 |