projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d41f92
)
Make an error a little more detailed.
author
Carl Hetherington
<cth@carlh.net>
Fri, 3 Jun 2022 13:11:50 +0000
(15:11 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 16 Jun 2022 13:47:06 +0000
(15:47 +0200)
src/asset_factory.cc
patch
|
blob
|
history
diff --git
a/src/asset_factory.cc
b/src/asset_factory.cc
index bab656782bddae21dca3ab88d23441df4666c56f..833d3d2befe1d28bab917114de965df29391ee19 100644
(file)
--- 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: