Changeset

12456:64722dcb0b8c 0.12

mod_storage_xep0227: Improve logging What were we looking at?
author Kim Alvefur <zash@zash.se>
date Tue, 29 Mar 2022 19:58:28 +0200
parents 12454:b2438f374b3e
children 12457:8b7895266e99
files plugins/mod_storage_xep0227.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'})