Merge pull request #3912 from bska/attribute-missing-kw-terminator

Emit Actual Message on Input Failure
This commit is contained in:
Markus Blatt
2022-05-20 23:05:22 +02:00
committed by GitHub

View File

@@ -548,7 +548,7 @@ void Opm::readDeck(Opm::Parallel::Communication comm,
if (! parseSuccess) {
if (comm.rank() == 0) {
OpmLog::error("Unrecoverable errors were encountered while loading input");
OpmLog::error(fmt::format("Unrecoverable errors while loading input: {}", failureMessage));
}
#if HAVE_MPI