Software /
code /
prosody
Changeset
7652:7cc3d6c764ce
mod_bosh: Log when a stanza isn't handled because we can't find a session for it
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 02 Sep 2016 21:57:40 +0100 |
parents | 7651:55f11a6806bc |
children | 7653:17e42f793341 |
files | plugins/mod_bosh.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Fri Sep 02 21:57:22 2016 +0100 +++ b/plugins/mod_bosh.lua Fri Sep 02 21:57:40 2016 +0100 @@ -412,6 +412,8 @@ 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