From 8d178d9af8690dbf901b76333d71f338127eba5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Fri, 25 Feb 2022 20:14:05 +0100 Subject: [PATCH] bookmark: Add logging on InvalidJid MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/core/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/poezio/core/commands.py b/poezio/core/commands.py index fada50c1..9ad5a78c 100644 --- a/poezio/core/commands.py +++ b/poezio/core/commands.py @@ -533,6 +533,7 @@ class CommandCore: room = jid.bare nick = jid.resource or None except InvalidJID: + self.core.information(f'Invalid address for bookmark: {room}/{nick}', 'Error') return bookmark = self.core.bookmarks[room]