diff options
author | Richard Hughes <richard@hughsie.com> | 2014-09-07 15:41:27 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-09-09 09:45:16 +0100 |
commit | a15401c954844443511225009470a4a8cd44f362 (patch) | |
tree | e3993491e32c4a4b14e223235cd9f3139aea53c6 /libappstream-glib | |
parent | 06b45ea9752fd9efc9af5c1df6ab254966418a2b (diff) | |
download | appstream-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.c | 4 |
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); |