summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-06-03 15:11:50 +0200
committerCarl Hetherington <cth@carlh.net>2022-06-16 15:47:06 +0200
commit6652dcfd5c3378d92d033a725c75d8763ac95922 (patch)
tree7509ffaf33b02d260f7feb35d5ebde4129b5d34b /src
parent6d41f92865234df02d42df26afab667e0b132244 (diff)
Make an error a little more detailed.
Diffstat (limited to 'src')
-rw-r--r--src/asset_factory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asset_factory.cc b/src/asset_factory.cc
index bab65678..833d3d2b 100644
--- a/src/asset_factory.cc
+++ b/src/asset_factory.cc
@@ -62,7 +62,7 @@ dcp::asset_factory (boost::filesystem::path path, bool ignore_incorrect_picture_
ASDCP::EssenceType_t type;
if (ASDCP::EssenceType (path.string().c_str(), type) != ASDCP::RESULT_OK) {
- throw ReadError ("Could not find essence type");
+ throw ReadError("Could not find essence type", path.string());
}
switch (type) {
case ASDCP::ESS_UNKNOWN: