summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-09-11 18:12:47 +0200
committerRichard Hughes <richard@hughsie.com>2018-09-11 17:52:27 +0100
commit479ed68318a5a78b95d93b70ebdddfd37585934c (patch)
treedd7f0b6c00eb006e83ae3c94523ed35d55d6de94
parent0f2d0d19c2a8a36dd01d33cbe0a7c414c3209438 (diff)
downloadappstream-glib-479ed68318a5a78b95d93b70ebdddfd37585934c.tar.gz
Better debug output for appstream-compose
When "looking for" a file, mention which type of file we're looking for, making it easier to find the debug message this corresponds to.
-rw-r--r--client/as-compose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/as-compose.c b/client/as-compose.c
index 4f2502f..4098ddd 100644
--- a/client/as-compose.c
+++ b/client/as-compose.c
@@ -278,7 +278,7 @@ load_appdata (const gchar *prefix, const gchar *app_name, GError **error)
"no file found for %s", app_name);
return NULL;
}
- g_debug ("looking for %s", appdata_path);
+ g_debug ("looking for appdata path '%s'", appdata_path);
app = as_app_new ();
if (!as_app_parse_file (app, appdata_path,
@@ -480,7 +480,7 @@ main (int argc, char **argv)
desktop_path = g_build_filename (prefix, "share", "applications",
desktop_basename->str, NULL);
- g_debug ("looking for %s", desktop_path);
+ g_debug ("looking for desktop path '%s'", desktop_path);
if (g_file_test (desktop_path, G_FILE_TEST_EXISTS)) {
app_desktop = load_desktop (prefix,