Merge pull request #5423 from blattms/bugfix/mswell-exceptions-are-problems

Only indicate problems for exceptions whem updating well potentials,
This commit is contained in:
Markus Blatt
2024-06-20 14:33:17 +02:00
committed by GitHub
2 changed files with 23 additions and 3 deletions

View File

@@ -1542,9 +1542,9 @@ updateWellPotentials(const int reportStepIdx,
}
++widx;
}
logAndCheckForExceptionsAndThrow(deferred_logger, exc_type,
"computeWellPotentials() failed: " + exc_msg,
terminal_output_, comm_);
logAndCheckForProblemsAndThrow(deferred_logger, exc_type,
"updateWellPotentials() failed: " + exc_msg,
terminal_output_, comm_);
}
template<class Scalar>