mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Improve warning text
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user