From 6652dcfd5c3378d92d033a725c75d8763ac95922 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 3 Jun 2022 15:11:50 +0200 Subject: Make an error a little more detailed. --- src/asset_factory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3