changeset 3976:db45d49518f6

plugin XEP-0384: log `import_error` when import is failing
author Goffi <goffi@goffi.org>
date Thu, 10 Nov 2022 15:16:43 +0100
parents c4418949aa37
children 6fa4ca0c047e
files sat/plugins/plugin_xep_0384.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0384.py	Mon Oct 31 13:50:12 2022 +0100
+++ b/sat/plugins/plugin_xep_0384.py	Thu Nov 10 15:16:43 2022 +0100
@@ -69,7 +69,7 @@
     raise exceptions.MissingModule(
         "You are missing one or more package required by the OMEMO plugin. Please"
         " download/install the pip packages 'omemo', 'twomemo', 'oldmemo' and"
-        " 'xmlschema'."
+        f" 'xmlschema'.\nexception: {import_error}"
     ) from import_error