summaryrefslogtreecommitdiff
path: root/libappstream-glib
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-09-07 15:41:27 +0100
committerRichard Hughes <richard@hughsie.com>2014-09-09 09:45:16 +0100
commita15401c954844443511225009470a4a8cd44f362 (patch)
treee3993491e32c4a4b14e223235cd9f3139aea53c6 /libappstream-glib
parent06b45ea9752fd9efc9af5c1df6ab254966418a2b (diff)
downloadappstream-glib-a15401c954844443511225009470a4a8cd44f362.tar.gz
trivial: When parsing the extra AppStream file, use the filename in the error
Diffstat (limited to 'libappstream-glib')
-rw-r--r--libappstream-glib/as-store.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c
index fbb57c5..9db9ced 100644
--- a/libappstream-glib/as-store.c
+++ b/libappstream-glib/as-store.c
@@ -580,8 +580,8 @@ as_store_from_file (AsStore *store,
g_set_error (error,
AS_STORE_ERROR,
AS_STORE_ERROR_FAILED,
- "Failed to parse file: %s",
- error_local->message);
+ "Failed to parse %s file: %s",
+ filename, error_local->message);
return FALSE;
}
return as_store_from_root (store, root, icon_root, error);