Even better open-file error reports.
[dcpomatic.git] / src / lib / file_group.cc
index 90aa10e28beb9d86aef50479555f378bf524e39d..c2ff047af3d955c539384a5ed8105b977aa2c4cb 100644 (file)
@@ -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);
        }
 }