From f67582a2602fb65109bf5eaf01b4bf1990455844 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 29 Mar 2022 19:58:28 +0200 Subject: mod_storage_xep0227: Improve logging What were we looking at? --- plugins/mod_storage_xep0227.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'}) -- cgit v1.2.3