feat: refresh existing snapshots from XML after sync
This commit is contained in:
1 parent
909e8a1d8e
commit
3b6ee90a7e
9 files changed
+289
-22
No files matched your search
@@ -137,6 +137,9 @@ class PickupLoader extends AbstractLoader
|
||||
{
|
||||
foreach ($pickups as $pickup) {
|
||||
$pickupData = $this->loadById($pickup->id);
|
||||
if (null === $pickupData) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$pickup->code = $pickupData->code;
|
||||
$pickup->postalCode = $pickupData->postalCode;
|
||||
|
||||
@@ -102,7 +102,7 @@ class TravelLoader extends AbstractLoader
|
||||
return $mapping;
|
||||
});
|
||||
} catch (InvalidArgumentException $e) {
|
||||
return [];
|
||||
throw new \RuntimeException('Cache key error in generateFilesMap', 0, $e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user