[gnome-software] Improve error message
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Improve error message
- Date: Sat, 7 Sep 2013 16:29:58 +0000 (UTC)
commit d13837e06b6ef4a3190997e3bf5fbe7899fa0bec
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Sep 7 12:29:02 2013 -0400
Improve error message
The plugin loader is using the same thread function for both
installing and removing, causing confusing error messages about
installation to appear when removal fails. Improve that.
src/gs-plugin-loader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index d02405a..e936383 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -1449,7 +1449,7 @@ gs_plugin_loader_thread_func (gpointer user_data)
&error);
if (!ret) {
gs_app_set_state (helper->app, helper->state_failure);
- g_warning ("failed to install: %s", error->message);
+ g_warning ("failed to complete %s: %s", helper->function_name, error->message);
g_error_free (error);
} else {
gs_app_set_state (helper->app, helper->state_success);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]