mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
Remove obsolete text info
Remove text info when opening result cases using index file. Keep text report if error happens.
This commit is contained in:
1 parent
459dea64c7
commit
c9574c2e05
1 file changed
+2
-11
@@ -91,11 +91,6 @@ bool RifEclipseUnifiedRestartFileAccess::openFile()
|
||||
if ( !m_ecl_file )
|
||||
{
|
||||
RiaLogging::error( QString( "Failed to open file %1 using index file." ).arg( m_filename ) );
|
||||
RiaLogging::info( QString( "Will try to open file without index file." ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
RiaLogging::info( QString( "Imported file %1 using index file." ).arg( m_filename ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -118,13 +113,9 @@ bool RifEclipseUnifiedRestartFileAccess::openFile()
|
||||
{
|
||||
bool success = ecl_file_write_index( m_ecl_file, RiaStringEncodingTools::toNativeEncoded( indexFileName ).data() );
|
||||
|
||||
if ( success )
|
||||
if ( !success )
|
||||
{
|
||||
RiaLogging::info( QString( "Exported index file to %1 " ).arg( indexFileName ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
RiaLogging::info( QString( "Failed to exported index file to %1 " ).arg( indexFileName ) );
|
||||
RiaLogging::error( QString( "Failed to exported index file to %1 " ).arg( indexFileName ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user