X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Freel_writer.cc;h=f6a42c6f064569ab0d7f55ee0b234373355495f8;hb=f4a41311291cb7b171a025dd9e572e66b10388be;hp=30650cf7de8cd291691da0c4a2353aa0b02c1c57;hpb=e9d4d9d9cd82a834be00c31858af30906774c94a;p=dcpomatic.git 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 ); }