Software / code / prosody
Changeset
7677:8613086779fa 0.9.11
mod_s2s: Lower log message to 'warn' level, standard for remotely-triggered protocol issues
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 27 Sep 2016 22:01:46 +0100 |
| parents | 7676:7311dc843718 |
| children | 7678:99abf5a5d8d3 |
| files | plugins/mod_s2s/mod_s2s.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Tue Sep 27 22:01:13 2016 +0100 +++ b/plugins/mod_s2s/mod_s2s.lua Tue Sep 27 22:01:46 2016 +0100 @@ -365,7 +365,7 @@ elseif session.direction == "outgoing" then session.notopen = nil; if not attr.id then - log("error", "Stream response did not give us a stream id!"); + log("warn", "Stream response did not give us a stream id!"); session:close({ condition = "undefined-condition", text = "Missing stream ID" }); return; end