diff --git a/src/Plugin/migrate/process/LockingMigrationLookup.php b/src/Plugin/migrate/process/LockingMigrationLookup.php index 08b2b69c..c84507a1 100644 --- a/src/Plugin/migrate/process/LockingMigrationLookup.php +++ b/src/Plugin/migrate/process/LockingMigrationLookup.php @@ -490,7 +490,7 @@ protected function doLookup($value, MigrateExecutableInterface $migrate_executab throw $e; } catch (\Exception $e) { - throw new MigrateException(sprintf('A %s was thrown while processing this migration lookup', gettype($e)), $e->getCode(), $e); + throw new MigrateException(sprintf('A %s was thrown while processing this migration lookup', get_class($e)), $e->getCode(), $e); } if ($destination_id_array) {