From a77aed144d7db38bbdb3df37261431ecc6b87749 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 9 Aug 2017 18:12:34 -0400 Subject: [PATCH] lib/plugin/plugin.c: log more details when g_module_open() fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- lib/plugin/plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plugin/plugin.c b/lib/plugin/plugin.c index b53c6b9e..8a4e0555 100644 --- a/lib/plugin/plugin.c +++ b/lib/plugin/plugin.c @@ -71,8 +71,8 @@ void init_python_plugin_provider(void) { python_plugin_provider_module = g_module_open(PYTHON_PLUGIN_PROVIDER_FILENAME, 0); if (!python_plugin_provider_module) { - BT_LOGI("Cannot find `%s`: continuing without Python plugin support.", - PYTHON_PLUGIN_PROVIDER_FILENAME); + BT_LOGI("Cannot open `%s`: %s: continuing without Python plugin support.", + PYTHON_PLUGIN_PROVIDER_FILENAME, g_module_error()); return; } -- 2.34.1