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: