X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fzipper.cc;h=d095a27bb6d74d24dd65110393086569d85330e8;hb=8974245c4659d9e0c5def4d6783d2d11ff798124;hp=2c334dc947fe62c9f25c06d5b47856c623219e32;hpb=78f3772099a8e923bfd0bbe312dbdb9af0541ca6;p=dcpomatic.git diff --git a/src/lib/zipper.cc b/src/lib/zipper.cc index 2c334dc94..d095a27bb 100644 --- a/src/lib/zipper.cc +++ b/src/lib/zipper.cc @@ -57,7 +57,7 @@ Zipper::add (string name, string content) } if (zip_add(_zip, name.c_str(), source) == -1) { - throw runtime_error ("failed to add data to ZIP archive"); + throw runtime_error(String::compose("failed to add data to ZIP archive (%1)", zip_strerror(_zip))); } }