diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-18 17:02:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-18 17:02:33 +0100 |
| commit | 513947df0f421c086ac56dff48dfe540b0a380c2 (patch) | |
| tree | 5fd393d3833a512dffacbeb2bb11eafe4003440e /src/lib/file_group.cc | |
| parent | 6c16feca6c9b51b4833051eff4b5f6a9e9454a73 (diff) | |
Better errors on open fails; remove unused exception.
Diffstat (limited to 'src/lib/file_group.cc')
| -rw-r--r-- | src/lib/file_group.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/file_group.cc b/src/lib/file_group.cc index 548e13fef..90aa10e28 100644 --- a/src/lib/file_group.cc +++ b/src/lib/file_group.cc @@ -92,7 +92,7 @@ FileGroup::ensure_open_path (size_t p) const _current_path = p; _current_file = fopen_boost (_paths[_current_path], "rb"); if (_current_file == 0) { - throw OpenFileError (_paths[_current_path]); + throw OpenFileError (_paths[_current_path], errno); } } |
