diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-08-14 00:18:39 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-08-14 00:18:39 +0100 |
commit | 249b84b088b050d97341deb4fa1808835f46242b (patch) | |
tree | 74763df6bc2f30e6e3e25f7672e8c70767a90309 /plugins/mod_s2s/s2sout.lib.lua | |
parent | 4b544bde2749381d89e0b17b867289fa778e792a (diff) | |
download | prosody-249b84b088b050d97341deb4fa1808835f46242b.tar.gz prosody-249b84b088b050d97341deb4fa1808835f46242b.zip |
mod_s2s/s2sout.lib: Improve error message logged at 'info' level when failing to connect to a host. Now 'Failed in all attempts to connect to XYZ'
Diffstat (limited to 'plugins/mod_s2s/s2sout.lib.lua')
-rw-r--r-- | plugins/mod_s2s/s2sout.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/s2sout.lib.lua b/plugins/mod_s2s/s2sout.lib.lua index 10ee4f0e..9500cac7 100644 --- a/plugins/mod_s2s/s2sout.lib.lua +++ b/plugins/mod_s2s/s2sout.lib.lua @@ -129,7 +129,7 @@ function s2sout.attempt_connection(host_session, err) connect_host, connect_port = srv_choice.target or to_host, srv_choice.port or connect_port; host_session.log("info", "Connection failed (%s). Attempt #%d: This time to %s:%d", tostring(err), host_session.srv_choice, connect_host, connect_port); else - host_session.log("info", "Out of connection options, can't connect to %s", tostring(host_session.to_host)); + host_session.log("info", "Failed in all attempts to connect to %s", tostring(host_session.to_host)); -- We're out of options return false; end |