diff core/modules/migrate/src/Row.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children af1871eacc83
line wrap: on
line diff
--- a/core/modules/migrate/src/Row.php	Mon Apr 23 09:33:26 2018 +0100
+++ b/core/modules/migrate/src/Row.php	Mon Apr 23 09:46:53 2018 +0100
@@ -104,7 +104,7 @@
     $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.");
       }
     }
   }