Skip to content

Commit b68bb73

Browse files
committed
Re-raise exception
1 parent 640123c commit b68bb73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

omemo/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
try:
44
import prettytable
5-
except ModuleNotFoundError:
5+
except ModuleNotFoundError as e:
66
raise ModuleNotFoundError(
77
"CLI dependency \"prettytable\" not found. Install python-omemo with CLI dependencies using"
88
" \"pip install OMEMO[cli]\""
9-
)
9+
) from e
1010

1111
from .backend import Backend
1212
from .session_manager import SessionManager, UnknownNamespace

0 commit comments

Comments
 (0)