mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 10:40:21 -06:00
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:
parent
d3e8a83bae
commit
1882d3315a
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user