mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Emit Actual Message on Input Failure
This gives more information to the user and hopefully aids them in resolving the underlying issue.
This commit is contained in:
parent
02aaec82f7
commit
252d0afe8e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user