Commit af311a62 authored by mathieui's avatar mathieui

fix: do not log the whole stacktrace when a tab has no mam support

parent e40b2df6
Pipeline #3923 passed with stages
in 6 minutes and 11 seconds
......@@ -334,7 +334,10 @@ class MAMFiller:
'Fetched %s messages to fill local logs for %s',
len(messages), self.tab.jid,
)
except (DiscoInfoException, NoMAMSupportException, MAMQueryException):
except NoMAMSupportException:
log.debug('The entity %s does not support MAM', self.tab.jid)
return
except (DiscoInfoException, MAMQueryException):
log.debug(
'Failed fetching logs for %s',
self.tab.jid, exc_info=True
......
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