From a3666c9a05792b242d6ffa7b2bd5c6b01d4c9d35 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: 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 cc98dbf6..abe99b41 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] -- cgit v1.2.3