summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2022-02-25 20:14:05 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2022-02-25 20:14:05 +0100
commita3666c9a05792b242d6ffa7b2bd5c6b01d4c9d35 (patch)
treead1509614b72ea5f2a4a524c4411f979cf3acded
parent7eb99bb43637ec17bf60a8321c41069563ae74af (diff)
downloadpoezio-a3666c9a05792b242d6ffa7b2bd5c6b01d4c9d35.tar.gz
poezio-a3666c9a05792b242d6ffa7b2bd5c6b01d4c9d35.tar.bz2
poezio-a3666c9a05792b242d6ffa7b2bd5c6b01d4c9d35.tar.xz
poezio-a3666c9a05792b242d6ffa7b2bd5c6b01d4c9d35.zip
bookmark: Add logging on InvalidJid
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/core/commands.py1
1 files changed, 1 insertions, 0 deletions
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]