Skip to content
Snippets Groups Projects
Commit 7b638da6 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

new: MAM: Add more logging on errors

parent 89db1f0f
No related branches found
No related tags found
No related merge requests found
......@@ -298,6 +298,8 @@ class MAM(BaseModule):
self._log.warning(result)
return
self._log.warning(result)
self._log.warning('Reset archive state: %s', own_jid)
app.storage.archive.reset_mam_archive_state(
self._account, result.jid)
_, start_date = self._get_query_params()
......@@ -355,6 +357,8 @@ class MAM(BaseModule):
contact.notify('mam-sync-error', result.get_text())
return
self._log.warning(result)
self._log.warning('Reset archive state: %s', jid)
app.storage.archive.reset_mam_archive_state(
self._account, result.jid)
_, start_date = self._get_muc_query_params(jid, threshold)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment