diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-02-28 00:06:31 +0000 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-02-28 00:06:36 +0000 |
commit | 470696063d152c742430a28b7d59dc93059bf4df (patch) | |
tree | fcac1452ddbe1c7d58334033037118fb287165eb | |
parent | 738dfe0e9af0e82f5e721818763a06b66f219b3b (diff) | |
download | poezio-470696063d152c742430a28b7d59dc93059bf4df.tar.gz poezio-470696063d152c742430a28b7d59dc93059bf4df.tar.bz2 poezio-470696063d152c742430a28b7d59dc93059bf4df.tar.xz poezio-470696063d152c742430a28b7d59dc93059bf4df.zip |
Properly raise NotImplementedError, prevent errors being swallowed by safeJID
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | poezio/tabs/basetabs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index f5a4ccf0..330b9913 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -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) |