summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-05-30 12:29:01 +0100
committerRichard Hughes <richard@hughsie.com>2014-05-30 12:29:01 +0100
commit40bb4a7e452d284f58df2848b2ba744d0254b230 (patch)
tree928763cb6aed084d1afb1bc4b337774e84f7bc11
parent1a1bfa24345f8489d84fa68af58b8f75b0064f19 (diff)
downloadappstream-glib-40bb4a7e452d284f58df2848b2ba744d0254b230.tar.gz
Don't include the filename in the error output
This changes the log output if we use a random temp directory.
-rw-r--r--libappstream-glib/as-app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c
index 9566562..a7f9df7 100644
--- a/libappstream-glib/as-app.c
+++ b/libappstream-glib/as-app.c
@@ -2685,7 +2685,7 @@ as_app_parse_desktop_file (AsApp *app,
AS_APP_ERROR,
AS_APP_ERROR_INVALID_TYPE,
"Application %s has no icon",
- desktop_file);
+ app_id);
goto out;
}
out: