Software /
code /
prosody-modules
Changeset
588:8042558336b6
mod_smacks: Log message when client tries to resume unknown session
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 30 Jan 2012 04:20:24 +0000 |
parents | 587:322a14acd974 |
children | 589:57ac609444c4 |
files | mod_smacks/mod_smacks.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Mon Jan 30 04:15:58 2012 +0000 +++ b/mod_smacks/mod_smacks.lua Mon Jan 30 04:20:24 2012 +0000 @@ -217,6 +217,7 @@ local id = stanza.attr.previd; local original_session = session_registry[id]; if not original_session then + session.log("debug", "Tried to resume non-existent session with id %s", id); session.send(st.stanza("failed", sm_attr) :tag("item-not-found", { xmlns = xmlns_errors }) );