# HG changeset patch # User Kim Alvefur # Date 1577140369 -3600 # Node ID 28c8e09fb3cd800544131911bd0618707908b32c # Parent 9cf7d9761ca2478bd896d02f1a55112e6ebbd094 mod_muc_mam: Log error when unable to store stanza (fix #1480) [luacheck] diff -r 9cf7d9761ca2 -r 28c8e09fb3cd plugins/mod_muc_mam.lua --- a/plugins/mod_muc_mam.lua Tue Dec 24 00:27:44 2019 +0100 +++ b/plugins/mod_muc_mam.lua Mon Dec 23 23:32:49 2019 +0100 @@ -357,6 +357,8 @@ if id then schedule_cleanup(room_node); stanza:add_direct_child(st.stanza("stanza-id", { xmlns = xmlns_st_id, by = self.jid, id = id })); + else + module:log("error", "Could not archive stanza: %s", err); end end