[gnome-software] trivial: print the error when no groups are found
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: print the error when no groups are found
- Date: Mon, 9 Sep 2013 08:12:49 +0000 (UTC)
commit 5d70c3d263fd9049be699251e8926b14091ab245
Author: Richard Hughes <richard hughsie com>
Date: Mon Sep 9 09:11:03 2013 +0100
trivial: print the error when no groups are found
src/gs-self-test.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-self-test.c b/src/gs-self-test.c
index a171110..4d5b9cd 100644
--- a/src/gs-self-test.c
+++ b/src/gs-self-test.c
@@ -265,9 +265,10 @@ gs_plugin_loader_empty_func (void)
NULL,
&error);
if (apps == NULL) {
- g_debug ("NOAPPS:\t%s/%s",
+ g_debug ("NOAPPS:\t%s/%s: %s",
gs_category_get_id (category),
- gs_category_get_id (sub));
+ gs_category_get_id (sub),
+ error->message);
g_clear_error (&error);
empty_subcats_cnt++;
//g_warning ("MOO");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]