summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-22 09:46:32 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-22 09:46:32 +0100
commitc5256bc4aad29f7b448339791ca33be79b81f631 (patch)
tree227ec7d3edff51233ec187318277fcd8223ee254 /src/dcp.cc
parent595d4fbfee788edfad7f9f8dfe7e76ee634c1a94 (diff)
Improve a couple of errors.
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index ca1c23d9..397bdac0 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -94,7 +94,7 @@ DCP::read (bool keep_going, ReadErrors* errors)
} else if (boost::filesystem::exists (_directory / "ASSETMAP.xml")) {
asset_map_file = _directory / "ASSETMAP.xml";
} else {
- boost::throw_exception (DCPReadError (String::compose ("could not find AssetMap file `%1'", asset_map_file.string())));
+ boost::throw_exception (DCPReadError (String::compose ("could not find AssetMap file in `%1'", _directory.string())));
}
cxml::Document asset_map ("AssetMap");