clarify error

This commit is contained in:
Kiara Grouwstra 2022-06-13 16:53:19 +02:00
parent 38780e732a
commit 167860c050
1 changed files with 1 additions and 1 deletions

View File

@ -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]];