summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-07-14 13:07:11 +0200
committerCarl Hetherington <cth@carlh.net>2022-07-14 13:07:11 +0200
commitf4a41311291cb7b171a025dd9e572e66b10388be (patch)
tree0d8f15efbfe27ca86751b302388ced356ab1dfc9 /src/lib
parente9d4d9d9cd82a834be00c31858af30906774c94a (diff)
Log a couple of errors more thoroughly.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/reel_writer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/reel_writer.cc b/src/lib/reel_writer.cc
index 30650cf7d..f6a42c6f0 100644
--- 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 (
- 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 (
- 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
);
}