fix: do not log the whole stacktrace when a tab has no mam support
This commit is contained in:
parent
e40b2df69e
commit
af311a6287
1 changed files with 4 additions and 1 deletions
|
@ -334,7 +334,10 @@ class MAMFiller:
|
||||||
'Fetched %s messages to fill local logs for %s',
|
'Fetched %s messages to fill local logs for %s',
|
||||||
len(messages), self.tab.jid,
|
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(
|
log.debug(
|
||||||
'Failed fetching logs for %s',
|
'Failed fetching logs for %s',
|
||||||
self.tab.jid, exc_info=True
|
self.tab.jid, exc_info=True
|
||||||
|
|
Loading…
Reference in a new issue