Commit 5978c5f3 authored by catch's avatar catch
Browse files

Issue #2941275 by zuhair_ak, joachim: improve the exception message for a...

Issue #2941275 by zuhair_ak, joachim: improve the exception message for a missing source ID value in \Drupal\migrate\Row
parent c0505dd0
......@@ -104,7 +104,7 @@ public function __construct(array $values = [], array $source_ids = [], $is_stub
$this->isStub = $is_stub;
foreach (array_keys($source_ids) as $id) {
if (!$this->hasSourceProperty($id)) {
throw new \InvalidArgumentException("$id has no value");
throw new \InvalidArgumentException("$id is defined as a source ID but has no value.");
}
}
}
......
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