bookmark: Add logging on InvalidJid
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
7eb99bb436
commit
a3666c9a05
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue