diff options
author | Kim Alvefur <zash@zash.se> | 2022-03-29 19:58:28 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-03-29 19:58:28 +0200 |
commit | f67582a2602fb65109bf5eaf01b4bf1990455844 (patch) | |
tree | eebb4820bda4bf118cdb30e89c4cf1e5a2d9ab58 /plugins | |
parent | ea30ed9428d1e6fcd4290ad4230f9520801d1a13 (diff) | |
download | prosody-f67582a2602fb65109bf5eaf01b4bf1990455844.tar.gz prosody-f67582a2602fb65109bf5eaf01b4bf1990455844.zip |
mod_storage_xep0227: Improve logging
What were we looking at?
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_storage_xep0227.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_xep0227.lua b/plugins/mod_storage_xep0227.lua index c1c7a62c..9c462caa 100644 --- a/plugins/mod_storage_xep0227.lua +++ b/plugins/mod_storage_xep0227.lua @@ -59,7 +59,7 @@ local function getUserElement(xml) end end end - module:log("warn", "Unable to find user element"); + module:log("warn", "Unable to find user element in %s", xml and xml:top_tag() or "nothing"); end local function createOuterXml(user, host) return st.stanza("server-data", {xmlns='urn:xmpp:pie:0'}) |