Software /
code /
prosody-modules
Diff
mod_mam/mod_mam.lua @ 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 |
parent | 1185:30b681898c2d |
child | 1187:d677d1807bb0 |
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;