summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2017-03-15 14:39:51 +0000
committerRichard Hughes <richard@hughsie.com>2017-03-15 14:39:51 +0000
commit0320abd7ea10e5576d98fd4bf5f16e43ae22a057 (patch)
tree271fb6cfac82a91fcce8b6987209a8a5b3aa48cb
parent8b194ee1824e9fcc1bc76546a4b2101f41e0185c (diff)
downloadappstream-glib-0320abd7ea10e5576d98fd4bf5f16e43ae22a057.tar.gz
trivial: Report the archive filename if it cannot be opened
-rw-r--r--libappstream-glib/as-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-glib/as-utils.c b/libappstream-glib/as-utils.c
index c2fd618..854eec1 100644
--- a/libappstream-glib/as-utils.c
+++ b/libappstream-glib/as-utils.c
@@ -1060,7 +1060,8 @@ as_utils_install_icon (AsUtilsLocation location,
g_set_error (error,
AS_UTILS_ERROR,
AS_UTILS_ERROR_FAILED,
- "Cannot open: %s",
+ "Cannot open %s: %s",
+ filename,
archive_error_string (arch));
goto out;
}