From: Zeeshan Ali (Khattak) Date: Wed, 27 May 2009 10:53:40 +0000 (+0300) Subject: Show exact error on module load failure X-Git-Tag: RYGEL_0_3~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3267a2a5a589fbfb62b725c24880ce5c9447a234;p=profile%2Fivi%2Frygel.git Show exact error on module load failure --- diff --git a/src/rygel/rygel-plugin-loader.vala b/src/rygel/rygel-plugin-loader.vala index 209c840..39b4b94 100644 --- a/src/rygel/rygel-plugin-loader.vala +++ b/src/rygel/rygel-plugin-loader.vala @@ -139,7 +139,9 @@ public class Rygel.PluginLoader : Object { private void load_module_from_file (string file_path) { Module module = Module.open (file_path, ModuleFlags.BIND_LOCAL); if (module == null) { - warning ("Failed to load module from path: '%s'\n", file_path); + warning ("Failed to load module from path '%s' : %s\n", + file_path, + Module.error ()); return; }