From 479ed68318a5a78b95d93b70ebdddfd37585934c Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 11 Sep 2018 18:12:47 +0200 Subject: 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. --- client/as-compose.c | 4 ++-- 1 file 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, -- cgit v1.2.1