projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e9d4d9d
)
Log a couple of errors more thoroughly.
author
Carl Hetherington
<cth@carlh.net>
Thu, 14 Jul 2022 11:07:11 +0000
(13:07 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 14 Jul 2022 11:07:11 +0000
(13:07 +0200)
src/lib/reel_writer.cc
patch
|
blob
|
history
diff --git
a/src/lib/reel_writer.cc
b/src/lib/reel_writer.cc
index 30650cf7de8cd291691da0c4a2353aa0b02c1c57..f6a42c6f064569ab0d7f55ee0b234373355495f8 100644
(file)
--- a/
src/lib/reel_writer.cc
+++ b/
src/lib/reel_writer.cc
@@
-423,7
+423,7
@@
ReelWriter::finish (boost::filesystem::path output_dcp)
boost::filesystem::rename (film()->file(aaf), audio_to, ec);
if (ec) {
throw FileError (
boost::filesystem::rename (film()->file(aaf), audio_to, ec);
if (ec) {
throw FileError (
- String::compose (_("could not move audio asset into the DCP (%1
)"), ec.value
()), aaf
+ String::compose (_("could not move audio asset into the DCP (%1
:%2)"), ec.category().name(), ec.value
()), aaf
);
}
);
}
@@
-440,7
+440,7
@@
ReelWriter::finish (boost::filesystem::path output_dcp)
boost::filesystem::rename (film()->file(aaf), atmos_to, ec);
if (ec) {
throw FileError (
boost::filesystem::rename (film()->file(aaf), atmos_to, ec);
if (ec) {
throw FileError (
- String::compose (_("could not move atmos asset into the DCP (%1
)"), ec.value
()), aaf
+ String::compose (_("could not move atmos asset into the DCP (%1
:%2)"), ec.category().name(), ec.value
()), aaf
);
}
);
}