[geany/geany] 82f259: Print filename of failed plugin
Enrico Tröger
git-noreply at xxxxx
Sun Feb 3 11:35:05 UTC 2013
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun, 03 Feb 2013 11:35:05 UTC
Commit: 82f259f6b54a778953fc6715a40e78705977a08c
https://github.com/geany/geany/commit/82f259f6b54a778953fc6715a40e78705977a08c
Log Message:
-----------
Print filename of failed plugin
Modified Paths:
--------------
scripts/plugin_test.c
Modified: scripts/plugin_test.c
3 files changed, 1 insertions(+), 2 deletions(-)
===================================================================
@@ -67,7 +67,7 @@ static gboolean test_plugin(const gchar *filename)
module = g_module_open(filename, G_MODULE_BIND_LOCAL);
if (! module)
{
- g_warning("Can't load plugin: %s", g_module_error());
+ g_warning("Can't load plugin: \"%s\": %s", filename, g_module_error());
return FALSE;
}
@@ -121,4 +121,3 @@ gint main(gint argc, gchar **argv)
return result;
}
-
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list