Skip to content

Commit

Permalink
Merge branch 'master' into nev2plx
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkrause authored Apr 11, 2021
2 parents 3269ba4 + 4c12e00 commit e27f90a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions NEVFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ NEVFile::NEVFile(std::string filename, size_t buffersize) :
{

this->file.open(filename, std::ios_base::binary);

// this->file.exceptions(std::ifstream::failbit | std::ifstream::badbit);

if(!this->file) {
std::cerr << "Failed to open file " << filename << "|\n" << std::endl;
throw(std::runtime_error("Cannot open file for reading"));
Expand Down

0 comments on commit e27f90a

Please sign in to comment.