mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-07-07 04:53:03 -05:00
Merge remote-tracking branch 'origin/master' into frankenstein_merge_master_v9
* origin/master: dune.module: change version to 2017.04-pre FlowMain: make sure to always print exception messages to the terminal
This commit is contained in:
commit
414dda420a
|
@ -5,8 +5,8 @@
|
|||
|
||||
Module: opm-simulators
|
||||
Description: Simulators and utilities for automatic differentiation
|
||||
Version: 2016.10-pre
|
||||
Label: 2016.10-pre
|
||||
Version: 2017.04-pre
|
||||
Label: 2017.04-pre
|
||||
Maintainer: atgeirr@sintef.no
|
||||
MaintainerName: Atgeirr F. Rasmussen
|
||||
Url: http://opm-project.org
|
||||
|
|
|
@ -166,7 +166,14 @@ namespace Opm
|
|||
|
||||
if( output_cout_ )
|
||||
{
|
||||
OpmLog::error(message.str());
|
||||
// in some cases exceptions are thrown before the logging system is set
|
||||
// up.
|
||||
if (OpmLog::hasBackend("STREAMLOG")) {
|
||||
OpmLog::error(message.str());
|
||||
}
|
||||
else {
|
||||
std::cout << message.str() << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
return EXIT_FAILURE;
|
||||
|
|
Loading…
Reference in New Issue
Block a user