Stuff and things
This commit is contained in:
@@ -74,7 +74,7 @@ namespace PartSource.Automation.Jobs
|
||||
|
||||
bool isFitment = false;
|
||||
|
||||
IList<Vehicle> vehicles = _vehicleService.GetVehiclesForPart(importData.PartNumber, importData.LineCode, 255);
|
||||
IList<Vehicle> vehicles = _vehicleService.GetVehiclesForPart(importData.PartNumber, importData.LineCode);
|
||||
|
||||
//if (vehicles.Count > 250)
|
||||
//{
|
||||
@@ -166,9 +166,9 @@ namespace PartSource.Automation.Jobs
|
||||
|
||||
tags.AddRange(ymmFitment);
|
||||
|
||||
if (tags.Count > 250)
|
||||
if (tags.Count > 249)
|
||||
{
|
||||
tags = tags.Take(250).ToList();
|
||||
tags = tags.Take(249).ToList();
|
||||
}
|
||||
|
||||
string zzzIsFitment = isFitment
|
||||
@@ -188,7 +188,7 @@ namespace PartSource.Automation.Jobs
|
||||
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError($"Failed to updated fitment data for SKU {importData?.VariantSku}", ex);
|
||||
_logger.LogError($"Failed to updated fitment data for SKU {importData?.VariantSku} - {ex.Message}", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user