mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-01 03:37:15 -06:00
Improve warning text
This commit is contained in:
parent
a4123609d9
commit
0740bccd75
@ -120,9 +120,11 @@ bool RifOpmCommonEclipseSummary::open( const QString& fileName, bool includeRest
|
||||
}
|
||||
catch ( std::exception& e )
|
||||
{
|
||||
QString txt = QString( "Failed to create optimized summary file. Error text : %1" ).arg( e.what() );
|
||||
|
||||
if ( threadSafeLogger ) threadSafeLogger->error( txt );
|
||||
if ( threadSafeLogger )
|
||||
{
|
||||
QString txt = QString( "Warning, could not open summary file : %1" ).arg( smspecFileName );
|
||||
threadSafeLogger->warning( txt );
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user