From db36c761ddc405a8df89abd6212d7115bbfd07f4 Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Wed, 5 Aug 2026 14:18:28 +0200 Subject: [PATCH] #14422 Avoid logging empty error for intentionally skipped GRDECL keywords Keywords in invalidPropertyDataKeywords() (e.g. ECHO/NOECHO) are skipped without setting an error message, but readProperties() logged the empty string as an error. Only log when there is an actual message. --- .../FileInterface/RifEclipseInputPropertyLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationLibCode/FileInterface/RifEclipseInputPropertyLoader.cpp b/ApplicationLibCode/FileInterface/RifEclipseInputPropertyLoader.cpp index 64eca8580f..d2299cdb44 100644 --- a/ApplicationLibCode/FileInterface/RifEclipseInputPropertyLoader.cpp +++ b/ApplicationLibCode/FileInterface/RifEclipseInputPropertyLoader.cpp @@ -114,7 +114,7 @@ std::map RifEclipseInputPropertyLoader::readProperties( const { resultNameAndEclipseNameMap[newResultName] = QString::fromStdString( keywordAndValues.keyword ); } - else + else if ( !errorText.isEmpty() ) { RiaLogging::error( errorText.toStdString() ); }