summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-07-02 11:15:16 +0100
committerRichard Hughes <richard@hughsie.com>2014-07-02 11:16:01 +0100
commit610f499b5b97f60f2e7e367e30c41a1386d688b0 (patch)
treebdd77d4139a48d52ec844bb3cafdd410de823293 /client
parent011bd569d689ae6ce61b2a02a2e3dd6ad3e5613e (diff)
downloadappstream-glib-610f499b5b97f60f2e7e367e30c41a1386d688b0.tar.gz
trivial: Actually show log messages for failed builds
Diffstat (limited to 'client')
-rw-r--r--client/as-builder.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/as-builder.c b/client/as-builder.c
index aec60d2..4ab8cae 100644
--- a/client/as-builder.c
+++ b/client/as-builder.c
@@ -323,8 +323,11 @@ main (int argc, char **argv)
}
/* add to list */
- if (!asb_context_add_filename (ctx, filename, &error_local))
+ if (!asb_context_add_filename (ctx, filename, &error_local)) {
+ g_print ("Failed to add %s: %s\n",
+ filename, error_local->message);
continue;
+ }
if (g_timer_elapsed (timer, NULL) > 3.f) {
/* TRANSLATORS: information message */
g_print (_("Parsed %i/%i files...\n"),