Properly raise NotImplementedError, prevent errors being swallowed by safeJID
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
738dfe0e9a
commit
470696063d
1 changed files with 1 additions and 1 deletions
|
@ -511,7 +511,7 @@ class ChatTab(Tab):
|
|||
|
||||
@property
|
||||
def general_jid(self) -> JID:
|
||||
return NotImplementedError
|
||||
raise NotImplementedError
|
||||
|
||||
def load_logs(self, log_nb: int) -> Optional[List[Dict[str, Any]]]:
|
||||
logs = logger.get_logs(safeJID(self.name).bare, log_nb)
|
||||
|
|
Loading…
Reference in a new issue