Software /
code /
prosody-modules
Changeset
1186:a172e7389cf6
mod_mam: Include textual error if archive query failed
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 05 Sep 2013 15:24:09 +0200 |
parents | 1185:30b681898c2d |
children | 1187:d677d1807bb0 |
files | mod_mam/mod_mam.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_mam/mod_mam.lua Thu Sep 05 15:22:31 2013 +0200 +++ b/mod_mam/mod_mam.lua Thu Sep 05 15:24:09 2013 +0200 @@ -111,7 +111,7 @@ }); if not data then - return origin.send(st.error_reply(stanza, "cancel", "internal-server-error")); + return origin.send(st.error_reply(stanza, "cancel", "internal-server-error", err)); end local count = err;