Software /
code /
prosody
Changeset
5798:c610b5fb53f3
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'
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 14 Aug 2013 00:18:39 +0100 |
parents | 5797:a493b79cfad0 |
children | 5799:4a7e90b4c97d |
files | plugins/mod_s2s/s2sout.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_s2s/s2sout.lib.lua Tue Aug 13 23:38:50 2013 +0100 +++ b/plugins/mod_s2s/s2sout.lib.lua Wed Aug 14 00:18:39 2013 +0100 @@ -129,7 +129,7 @@ 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