Commit e54263e2 authored by joachim's avatar joachim Committed by borisson_

Issue #2895368 by joachim: 'This field has no datasource' exception needs more detail

parent 99894e25
......@@ -106,7 +106,7 @@ class ListItemProcessor extends ProcessorPluginBase implements BuildProcessorInt
$field = $index->getField($field_identifier);
if (!$field->getDatasourceId()) {
throw new InvalidProcessorException("This field has no datasource, there is no valid use for this processor with this facet");
throw new InvalidProcessorException("The {$field_identifier} field has no datasource, there is no valid use for the {$this->pluginId} processor with this facet");
}
$entity = $field->getDatasource()->getEntityTypeId();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment