diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-10-14 02:14:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-10-14 02:14:15 +0100 |
| commit | 5342750edfed5d569548a5592b519227fefdf0f4 (patch) | |
| tree | 76b53fb4110d8e49be8e4ec360e8947d313e5f9f /src/lib | |
| parent | 2abb944d5a1c000911de5aafa6079d10b5600db9 (diff) | |
More detailed ZIP errors.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/internet.cc | 2 |
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 |
