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
commitc17901eae4b01bd8b769ca3e4ea95f7edf238311 (patch)
treeebd777c4a9cee013dff2ca0dc16610d01a7e7ef3
parentf31d22f6557453c12e50a9035216dcc7649dc4e0 (diff)
downloadprosody-c17901eae4b01bd8b769ca3e4ea95f7edf238311.tar.gz
prosody-c17901eae4b01bd8b769ca3e4ea95f7edf238311.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