summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-10-14 02:14:15 +0100
committerCarl Hetherington <cth@carlh.net>2018-10-14 02:14:15 +0100
commit5342750edfed5d569548a5592b519227fefdf0f4 (patch)
tree76b53fb4110d8e49be8e4ec360e8947d313e5f9f /src/lib
parent2abb944d5a1c000911de5aafa6079d10b5600db9 (diff)
More detailed ZIP errors.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/internet.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/internet.cc b/src/lib/internet.cc
index d6fb02a17..15a9ca72c 100644
--- a/src/lib/internet.cc
+++ b/src/lib/internet.cc
@@ -122,7 +122,7 @@ get_from_zip_url (string url, string file, bool pasv, function<void (boost::file
zip_error_t error;
zip_t* zip = zip_open_from_source (zip_source, ZIP_RDONLY, &error);
if (!zip) {
- return String::compose (_("Could not open downloaded ZIP file (%1)"), error.str ? error.str : "");
+ return String::compose (_("Could not open downloaded ZIP file (%1: 2)"), error.sys_err, error.str ? error.str : "");
}
#else