aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-09-02 21:57:40 +0100
committerMatthew Wild <mwild1@gmail.com>2016-09-02 21:57:40 +0100
commit4bb29b79eabd3fccd48510b64796a051c1890325 (patch)
tree6bb46e168a58adcc16a0582a6f76eb85f9990c9b /plugins
parentc61ca6d7d094947f7bc08d0b42efd3e04c1f38a7 (diff)
downloadprosody-4bb29b79eabd3fccd48510b64796a051c1890325.tar.gz
prosody-4bb29b79eabd3fccd48510b64796a051c1890325.zip
mod_bosh: Log when a stanza isn't handled because we can't find a session for it
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_bosh.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua
index 1de3a252..3bccfbd6 100644
--- a/plugins/mod_bosh.lua
+++ b/plugins/mod_bosh.lua
@@ -412,6 +412,8 @@ function stream_callbacks.handlestanza(context, stanza)
return xpcall(function () return core_process_stanza(session, stanza) end, handleerr);
end
end
+ else
+ log("debug", "No session for this stanza! (sid: %s)", context.sid or "none!");
end
end