projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s/destroy_thread/stop_thread/
[dcpomatic.git]
/
src
/
lib
/
cinema_kdms.cc
diff --git
a/src/lib/cinema_kdms.cc
b/src/lib/cinema_kdms.cc
index 7952b7ab22e3f22e3b75f7bb03ea084791234721..2d1f3e2730ffacffd1144b79e01fe987065fc36f 100644
(file)
--- a/
src/lib/cinema_kdms.cc
+++ b/
src/lib/cinema_kdms.cc
@@
-74,7
+74,10
@@
CinemaKDMs::make_zip_file (boost::filesystem::path zip_file, dcp::NameFormat nam
}
if (zip_close (zip) == -1) {
- throw runtime_error ("failed to close ZIP archive");
+ int zep;
+ int sep;
+ zip_error_get (zip, &zep, &sep);
+ throw runtime_error (String::compose("failed to close ZIP archive (%1, %2)", zep, sep));
}
}