Software /
code /
prosody
Changeset
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 |
parents | 10525:9cf7d9761ca2 |
children | 10561:29b3eb95c268 |
files | plugins/mod_muc_mam.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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