diff options
author | Richard Hughes <richard@hughsie.com> | 2017-03-15 14:39:51 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-03-15 14:39:51 +0000 |
commit | 0320abd7ea10e5576d98fd4bf5f16e43ae22a057 (patch) | |
tree | 271fb6cfac82a91fcce8b6987209a8a5b3aa48cb /libappstream-glib/as-utils.c | |
parent | 8b194ee1824e9fcc1bc76546a4b2101f41e0185c (diff) | |
download | appstream-glib-0320abd7ea10e5576d98fd4bf5f16e43ae22a057.tar.gz |
trivial: Report the archive filename if it cannot be opened
Diffstat (limited to 'libappstream-glib/as-utils.c')
-rw-r--r-- | libappstream-glib/as-utils.c | 3 |
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; } |