From ce32d6cd30b916acc30d19241168ad4e41be6bda Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 13 Feb 2017 20:33:14 +0000 Subject: Another better error. --- src/dcp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/dcp.cc b/src/dcp.cc index 884e3cb5..b633c499 100644 --- a/src/dcp.cc +++ b/src/dcp.cc @@ -224,7 +224,7 @@ DCP::read (bool keep_going, ReadErrors* errors, bool ignore_incorrect_picture_mx other_assets.push_back (shared_ptr (new SMPTESubtitleAsset (path))); break; default: - throw DCPReadError ("Unknown MXF essence type"); + throw DCPReadError (String::compose ("Unknown MXF essence type %1 in %2", int(type), path.string())); } } else if (boost::filesystem::extension (path) == ".ttf") { other_assets.push_back (shared_ptr (new FontAsset (i->first, path))); -- cgit v1.2.3