plugin XEP-0384: log import_error when import is failing

This commit is contained in:
Goffi 2022-11-10 15:16:43 +01:00
commit 1ebe54a024

View file

@ -69,7 +69,7 @@ except ImportError as import_error:
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