mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-03 20:57:39 -06:00
#7893 Make accessor warning clearer in Well Log Track region annotations
This commit is contained in:
parent
9e1ef0e7e0
commit
4be9714368
@ -2678,7 +2678,13 @@ void RimWellLogTrack::updateResultPropertyNamesOnPlot()
|
||||
RigResultAccessorFactory::createFromResultDefinition( eclipseCase->eclipseCaseData(), 0, m_timeStep, m_resultDefinition );
|
||||
if ( !resultAccessor.notNull() )
|
||||
{
|
||||
RiaLogging::error( "Unable to get result accessor" );
|
||||
QString resultTypeStr = caf::AppEnum<RiaDefines::ResultCatType>( m_resultDefinition->resultType() ).uiText();
|
||||
RiaLogging::error(
|
||||
QString( "Unable to find result for region annotation for '%1' track. Tried '%2' (%3) on case: '%4'" )
|
||||
.arg( m_description() )
|
||||
.arg( m_resultDefinition->resultVariable() )
|
||||
.arg( resultTypeStr )
|
||||
.arg( eclipseCase->caseUserDescription() ) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user