changeset e9e8d8451564 in /home/hg/repos/gajim-plugins

author: lovetox <[email protected]>
branches: 
details:gajim-plugins?cmd=changeset;node=e9e8d8451564
description: print more meaningful ImportError message

diffstat:

 omemo/__init__.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r aac2c5458ea2 -r e9e8d8451564 omemo/__init__.py
--- a/omemo/__init__.py Mon Jul 18 18:12:33 2016 +0200
+++ b/omemo/__init__.py Mon Jul 18 18:22:59 2016 +0200
@@ -49,8 +49,8 @@
 try:
     from omemo.state import OmemoState
     HAS_AXOLOTL = True
-except ImportError:
-    log.error(AXOLOTL_MISSING)
+except ImportError as e:
+    log.error(e)
     HAS_AXOLOTL = False
 
 DB_DIR = gajim.gajimpaths.data_root
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to