summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-05-28 17:12:10 +0200
committerDave Davenport <qball@gmpclient.org>2017-05-28 17:12:10 +0200
commit141b46aae0b7812395906e5d72abc832542ba3ae (patch)
treedb2a0c5e33cf7f79bf815ebf59f5261c47178d9b /source
parent85e6bfcc7852b8a2ec86b3b499877ef77455b275 (diff)
Add extra error message when failed to open plugin
Diffstat (limited to 'source')
-rw-r--r--source/rofi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/rofi.c b/source/rofi.c
index e802f0ed..f00b15a5 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -558,6 +558,8 @@ static void rofi_collect_modi_dir ( const char *base_dir )
g_warning ( "Symbol 'mode' not found in module: %s", dn );
g_module_close ( mod );
}
+ } else {
+ g_warning ( "Failed to open 'mode' plugin: '%s', error: %s", dn, g_module_error());
}
g_free ( fn );
}