clarify error
This commit is contained in:
parent
38780e732a
commit
167860c050
|
@ -20,7 +20,7 @@ abstract class CRM_Bij1migratie_Mapping_AbstractMapping
|
|||
throw new MappingException(sprintf('Column %s not found in %s', $name, get_class($this)));
|
||||
}
|
||||
if (!isset($this->data[$columns[$name]])) {
|
||||
throw new MappingException(sprintf('Column %d not found in dataset', $columns[$name]));
|
||||
throw new MappingException(sprintf('Column %d with name %s not found in dataset', $columns[$name], $name));
|
||||
}
|
||||
|
||||
return $this->data[$columns[$name]];
|
||||
|
|
Loading…
Reference in New Issue