# HG changeset patch # User Link Mauve # Date 1773185522 -3600 # Node ID fdf7b82099de45944f523b8a3b89996f7062c88f # Parent 4c79399e9bc811120fa5c5325f176a707a7dde5e mod_auto_moved: Replace util.serialization.serialize with %q diff -r 4c79399e9bc8 -r fdf7b82099de mod_auto_moved/mod_auto_moved.lua --- a/mod_auto_moved/mod_auto_moved.lua Wed Mar 11 00:31:32 2026 +0100 +++ b/mod_auto_moved/mod_auto_moved.lua Wed Mar 11 00:32:02 2026 +0100 @@ -78,7 +78,7 @@ module:send(st.presence({ to = new_jid, from = to_user.."@"..module.host, type = "subscribe" })); end end):catch(function (err) - module:log("debug", "Failed to verify moved statement for <%s> -> <%s>: %s", old_jid, new_jid_unverified, require "util.serialization".serialize(err, "debug")); + module:log("debug", "Failed to verify moved statement for <%s> -> <%s>: %q", old_jid, new_jid_unverified, err); stanza:reset() :tag("moved-verification", { xmlns = "https://prosody.im/protocol/moved", status = "failed" }) :up();