Mercurial > prosody-modules
diff mod_auto_moved/mod_auto_moved.lua @ 6436:fdf7b82099de
mod_auto_moved: Replace util.serialization.serialize with %q
| author | Link Mauve <linkmauve@linkmauve.fr> |
|---|---|
| date | Wed, 11 Mar 2026 00:32:02 +0100 |
| parents | f95a1e197a07 |
| children |
line wrap: on
line diff
--- 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();
