From a79e50f4f73e9150e2854732499176e4a385e092 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 2 Sep 2016 21:57:40 +0100 Subject: mod_bosh: Log when a stanza isn't handled because we can't find a session for it --- plugins/mod_bosh.lua | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3