From 0bee1c3195055afb101b3a7da843bd71f7ef7132 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 3 Jul 2009 14:58:11 +0100 Subject: s2smanager: Log the hostname and address when s2s connection fails instantly --- core/s2smanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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 -- cgit v1.2.3