mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -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 )
|
catch ( std::exception& e )
|
||||||
{
|
{
|
||||||
QString txt = QString( "Failed to create optimized summary file. Error text : %1" ).arg( e.what() );
|
if ( threadSafeLogger )
|
||||||
|
{
|
||||||
if ( threadSafeLogger ) threadSafeLogger->error( txt );
|
QString txt = QString( "Warning, could not open summary file : %1" ).arg( smspecFileName );
|
||||||
|
threadSafeLogger->warning( txt );
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user