diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-03-18 00:20:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-03-18 23:30:48 +0100 |
| commit | 4078aaae757db466d727c667dd9197b56d6b3f58 (patch) | |
| tree | 47b733b51d838a7da708b9807478de1e166a5b4f /src/dcp.cc | |
| parent | cf4e4272f72346c39964b128f78b2297f04dba55 (diff) | |
Improve errors when verifying a non-DCP directory.
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ DCP::read (vector<dcp::VerificationNote>* notes, bool ignore_incorrect_picture_m } else if (boost::filesystem::exists (_directory / "ASSETMAP.xml")) { _asset_map = _directory / "ASSETMAP.xml"; } else { - boost::throw_exception (ReadError(String::compose("Could not find ASSETMAP nor ASSETMAP.xml in '%1'", _directory.string()))); + boost::throw_exception (MissingAssetmapError(_directory)); } cxml::Document asset_map ("AssetMap"); |
