mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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
|
else
|
||||||
{
|
{
|
||||||
OPM_THROW(std::runtime_error,
|
std::cerr << "WARNING: Unrecognized file with name "
|
||||||
"Unrecognized file with name "
|
|
||||||
<< filename
|
<< filename
|
||||||
<< " from parallel run.");
|
<< " that might stem from a parallel run."
|
||||||
|
<< std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user