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:
Atgeirr Flø Rasmussen 2024-11-21 12:05:32 +01:00 committed by GitHub
commit f11c511878
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -617,7 +617,10 @@ void Opm::readDeck(Opm::Parallel::Communication comm,
if (*errorGuard) { // errors encountered
parseSuccess = 0;
errorGuard->dump();
if (failureMessage.size()) {
failureMessage += std::string("\n");
}
failureMessage += errorGuard->dump();
errorGuard->clear();
}