Do not throw for unrecognized file when merging log files.

The regex we are using might also consider a file named bla.2.blub.
In that case it is not nice to throw an exception. Instead we print
a message to std::cerr.
This commit is contained in:
Markus Blatt 2016-11-11 11:55:54 +01:00
parent d3e8a83bae
commit 1882d3315a

View File

@ -83,10 +83,10 @@ public:
}
else
{
OPM_THROW(std::runtime_error,
"Unrecognized file with name "
std::cerr << "WARNING: Unrecognized file with name "
<< filename
<< " from parallel run.");
<< " that might stem from a parallel run."
<< std::endl;
}
}
}