bookmark: Add logging on InvalidJid

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-02-25 20:14:05 +01:00
parent 7eb99bb436
commit a3666c9a05
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -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]