diff options
author | Matthew Wild <mwild1@gmail.com> | 2016-09-02 21:57:40 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2016-09-02 21:57:40 +0100 |
commit | a79e50f4f73e9150e2854732499176e4a385e092 (patch) | |
tree | 6bb46e168a58adcc16a0582a6f76eb85f9990c9b | |
parent | cef65929dfbc624e39191ec88815cbd4ada563c0 (diff) | |
download | prosody-a79e50f4f73e9150e2854732499176e4a385e092.tar.gz prosody-a79e50f4f73e9150e2854732499176e4a385e092.zip |
mod_bosh: Log when a stanza isn't handled because we can't find a session for it
-rw-r--r-- | plugins/mod_bosh.lua | 2 |
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 |