Software /
code /
prosody
Diff
plugins/mod_muc_mam.lua @ 10526:28c8e09fb3cd 0.11
mod_muc_mam: Log error when unable to store stanza (fix #1480) [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 23 Dec 2019 23:32:49 +0100 |
parent | 10029:2c8f674b9243 |
child | 10561:29b3eb95c268 |
line wrap: on
line diff
--- 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