summaryrefslogtreecommitdiff
path: root/poezio
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-19 23:26:25 +0200
committermathieui <mathieui@mathieui.net>2021-04-19 23:26:42 +0200
commitaf311a6287f49a3d33bb7c01a0d06cbaad2102ea (patch)
tree22e6fc7dc8bf93b22b599f87506a61be77f7a93e /poezio
parente40b2df69e3f5b7ee80d48663fe4c0b2ebb98d7e (diff)
downloadpoezio-af311a6287f49a3d33bb7c01a0d06cbaad2102ea.tar.gz
poezio-af311a6287f49a3d33bb7c01a0d06cbaad2102ea.tar.bz2
poezio-af311a6287f49a3d33bb7c01a0d06cbaad2102ea.tar.xz
poezio-af311a6287f49a3d33bb7c01a0d06cbaad2102ea.zip
fix: do not log the whole stacktrace when a tab has no mam support
Diffstat (limited to 'poezio')
-rw-r--r--poezio/log_loader.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/poezio/log_loader.py b/poezio/log_loader.py
index 2eb04b65..8fd0ed82 100644
--- a/poezio/log_loader.py
+++ b/poezio/log_loader.py
@@ -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