mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-30 11:06:55 -06:00
fixup! sim_fibo_ad*: print the log messages from the parser/EclipseState
This commit is contained in:
parent
566c7c03d7
commit
b4f9a49bd6
@ -113,12 +113,12 @@ try
|
||||
eclipseState.reset(new EclipseState(deck, parserLog));
|
||||
}
|
||||
catch (const std::invalid_argument& e) {
|
||||
std::cerr << "error while parsing the deck file: " << e.what() << "\n";
|
||||
if (parserLog->size() > 0) {
|
||||
std::cerr << "Issues found while parsing the deck file:\n";
|
||||
parserLog->printAll(std::cerr);
|
||||
}
|
||||
return 1;
|
||||
std::cerr << "error while parsing the deck file: " << e.what() << "\n";
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (parserLog->size() > 0) {
|
||||
|
@ -139,12 +139,12 @@ try
|
||||
eclipseState.reset(new EclipseState(deck, parserLog));
|
||||
}
|
||||
catch (const std::invalid_argument& e) {
|
||||
std::cerr << "error while parsing the deck file: " << e.what() << "\n";
|
||||
if (parserLog->size() > 0) {
|
||||
std::cerr << "Issues found while parsing the deck file:\n";
|
||||
parserLog->printAll(std::cerr);
|
||||
}
|
||||
return 1;
|
||||
std::cerr << "error while parsing the deck file: " << e.what() << "\n";
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (parserLog->size() > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user