[gnome-software] trivial: show the name of the plugin that fails to set an error



commit 9a06c39c633483a6c981b8f3ee059faf28af4876
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jul 11 09:47:10 2017 +0100

    trivial: show the name of the plugin that fails to set an error

 lib/gs-plugin-loader.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/gs-plugin-loader.c b/lib/gs-plugin-loader.c
index 49c6e41..e1c2dfa 100644
--- a/lib/gs-plugin-loader.c
+++ b/lib/gs-plugin-loader.c
@@ -709,7 +709,8 @@ gs_plugin_loader_call_vfunc (GsPluginLoaderHelper *helper,
 
        /* plugin did not return error on cancellable abort */
        if (ret && g_cancellable_set_error_if_cancelled (cancellable, &error_local)) {
-               g_debug ("plugin did not return error with cancellable set");
+               g_debug ("plugin %s did not return error with cancellable set",
+                        gs_plugin_get_name (plugin));
                gs_utils_error_convert_gio (&error_local);
                ret = FALSE;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]