diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-08-21 22:59:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-08-21 22:59:19 +0100 |
| commit | 92984df6ab50ba4ec90d105e44b58efa863c4b59 (patch) | |
| tree | 492b129885467a20078af519da9864c7d2319c0a /src/lib/file_group.cc | |
| parent | f868d7b9828766aab128f19ec8536efcac36ae37 (diff) | |
Even better open-file error reports.
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 90aa10e28..c2ff047af 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], errno); + throw OpenFileError (_paths[_current_path], errno, true); } } |
