mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #5707 from blattms/fix/log-section-topology-error
Make sure all errors from parsing show up in the log files.
This commit is contained in:
@@ -617,7 +617,10 @@ void Opm::readDeck(Opm::Parallel::Communication comm,
|
|||||||
|
|
||||||
if (*errorGuard) { // errors encountered
|
if (*errorGuard) { // errors encountered
|
||||||
parseSuccess = 0;
|
parseSuccess = 0;
|
||||||
errorGuard->dump();
|
if (failureMessage.size()) {
|
||||||
|
failureMessage += std::string("\n");
|
||||||
|
}
|
||||||
|
failureMessage += errorGuard->dump();
|
||||||
errorGuard->clear();
|
errorGuard->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user