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 | 2666d8e8e7b2cdbad8d61caf1351d24782c0da74 (patch) | |
tree | 74763df6bc2f30e6e3e25f7672e8c70767a90309 | |
parent | 7f367c1d6eee23dfef56634f59b72f77f9b3a33c (diff) | |
download | prosody-2666d8e8e7b2cdbad8d61caf1351d24782c0da74.tar.gz prosody-2666d8e8e7b2cdbad8d61caf1351d24782c0da74.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'
-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 |