diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-08 10:05:49 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-08 10:05:49 +0000 |
| commit | 83591a4390db550a7d1495b9699c62315e2d7710 (patch) | |
| tree | 29c93f38853ae2d99c7bca8c7b52d2c294881c0e /src/cpl.cc | |
| parent | 3a148fab61d2b23379589a4f0f256c21950742b8 (diff) | |
Throw better file errors (with numbers).
Diffstat (limited to 'src/cpl.cc')
| -rw-r--r-- | src/cpl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |
