Add extra error message when failed to open plugin

This commit is contained in:
Dave Davenport 2017-05-28 17:12:10 +02:00
parent 85e6bfcc78
commit 141b46aae0
1 changed files with 2 additions and 0 deletions

View File

@ -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 );
}