bookmark: Add logging on InvalidJid
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
f4185b7485
commit
8d178d9af8
1 changed files with 1 additions and 0 deletions
|
@ -533,6 +533,7 @@ class CommandCore:
|
||||||
room = jid.bare
|
room = jid.bare
|
||||||
nick = jid.resource or None
|
nick = jid.resource or None
|
||||||
except InvalidJID:
|
except InvalidJID:
|
||||||
|
self.core.information(f'Invalid address for bookmark: {room}/{nick}', 'Error')
|
||||||
return
|
return
|
||||||
|
|
||||||
bookmark = self.core.bookmarks[room]
|
bookmark = self.core.bookmarks[room]
|
||||||
|
|
Loading…
Reference in a new issue