From 1ebe54a0246f1cd13d37eeb4957ae7a38e5684df Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 10 Nov 2022 15:16:43 +0100 Subject: [PATCH] plugin XEP-0384: log `import_error` when import is failing --- sat/plugins/plugin_xep_0384.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sat/plugins/plugin_xep_0384.py b/sat/plugins/plugin_xep_0384.py index 2caa53b6..88f4e865 100644 --- a/sat/plugins/plugin_xep_0384.py +++ b/sat/plugins/plugin_xep_0384.py @@ -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