Commit 223deaa7 authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot

Log the actual error on MAM error

parent d3a684a5
......@@ -238,11 +238,12 @@ converse.plugins.add('converse-mam', {
this.clearSpinner();
_.each(messages, message_handler);
},
() => { // Error
e => { // Error
this.clearSpinner();
_converse.log(
"Error or timeout while trying to fetch "+
"archived messages", Strophe.LogLevel.ERROR);
_converse.log(e, Strophe.LogLevel.ERROR);
}
);
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment