aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-09-27 22:01:46 +0100
committerMatthew Wild <mwild1@gmail.com>2016-09-27 22:01:46 +0100
commit56cff1b44896ecab1571949b59ceec189acd289b (patch)
treeebd777c4a9cee013dff2ca0dc16610d01a7e7ef3
parent778aa7dbdd8dca0b65328f1c5cab14d7af5d5679 (diff)
downloadprosody-56cff1b44896ecab1571949b59ceec189acd289b.tar.gz
prosody-56cff1b44896ecab1571949b59ceec189acd289b.zip
mod_s2s: Lower log message to 'warn' level, standard for remotely-triggered protocol issues
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index 4173fcfa..e038e5b4 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -365,7 +365,7 @@ function stream_callbacks.streamopened(session, attr)
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