# HG changeset patch # User Goffi # Date 1668089803 -3600 # Node ID db45d49518f6bf97322f0d7e51c1a316e47afe07 # Parent c4418949aa3735c9674a136e112ed9bfb2f7ca94 plugin XEP-0384: log `import_error` when import is failing diff -r c4418949aa37 -r db45d49518f6 sat/plugins/plugin_xep_0384.py --- 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