Commit 47069606 authored by Maxime Buquet's avatar Maxime Buquet

Properly raise NotImplementedError, prevent errors being swallowed by safeJID

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent 738dfe0e
......@@ -511,7 +511,7 @@ class ChatTab(Tab):
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(, log_nb)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment