summaryrefslogtreecommitdiff
path: root/src/cpl.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-08 10:05:49 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-08 10:05:49 +0000
commit83591a4390db550a7d1495b9699c62315e2d7710 (patch)
tree29c93f38853ae2d99c7bca8c7b52d2c294881c0e /src/cpl.cc
parent3a148fab61d2b23379589a4f0f256c21950742b8 (diff)
Throw better file errors (with numbers).
Diffstat (limited to 'src/cpl.cc')
-rw-r--r--src/cpl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpl.cc b/src/cpl.cc
index 29214ca6..12fdf102 100644
--- a/src/cpl.cc
+++ b/src/cpl.cc
@@ -70,7 +70,7 @@ CPL::CPL (boost::filesystem::path directory, string file, list<PathAssetMap> ass
try {
cpl.reset (new parse::CPL (file));
} catch (FileError& e) {
- boost::throw_exception (FileError ("could not load CPL file", file));
+ boost::throw_exception (FileError ("could not load CPL file", file, e.number ()));
}
/* Now cherry-pick the required bits into our own data structure */