Software /
code /
prosody
Diff
plugins/mod_bosh.lua @ 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 |
parent | 7651:55f11a6806bc |
child | 7653:17e42f793341 |
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