# HG changeset patch # User Kim Alvefur # Date 1648576708 -7200 # Node ID 64722dcb0b8caecae1c7bcfa214a70b1a821f107 # Parent b2438f374b3e7242299cde0010db01c29cb47e08 mod_storage_xep0227: Improve logging What were we looking at? diff -r b2438f374b3e -r 64722dcb0b8c plugins/mod_storage_xep0227.lua --- a/plugins/mod_storage_xep0227.lua Thu Apr 07 17:22:02 2022 +0100 +++ b/plugins/mod_storage_xep0227.lua Tue Mar 29 19:58:28 2022 +0200 @@ -59,7 +59,7 @@ 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'})