From 614ed6aa738502867cacb4f09a218bdb51d7f8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 24 Mar 2020 01:31:03 +0100 Subject: poezio/core/handlers: More explicit logging for whitespace keepalives MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/core/handlers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index cfdeb271..d972fde9 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -1504,7 +1504,8 @@ class HandlerCore: poezio_colored, nickname=char) except: - log.debug('', exc_info=True) + log.debug('Couldn\'t deserialize stanza. ' + 'Possible whitespace keepalive.') if isinstance(self.core.tabs.current_tab, tabs.XMLTab): self.core.tabs.current_tab.refresh() -- cgit v1.2.3