Mercurial > libervia-backend
diff sat/plugins/plugin_xep_0384.py @ 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 | 5fbdf986670c |
children | cd6f70015738 |
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