Fix catalogTypeName -> catalogBrandName in exception message
This commit is contained in:
parent
aebfc8e5ac
commit
073f7a7e60
@ -203,7 +203,7 @@ public class CatalogContextSeed
|
|||||||
string catalogBrandName = column[Array.IndexOf(headers, "catalogbrandname")].Trim('"').Trim();
|
string catalogBrandName = column[Array.IndexOf(headers, "catalogbrandname")].Trim('"').Trim();
|
||||||
if (!catalogBrandIdLookup.ContainsKey(catalogBrandName))
|
if (!catalogBrandIdLookup.ContainsKey(catalogBrandName))
|
||||||
{
|
{
|
||||||
throw new Exception($"type={catalogTypeName} does not exist in catalogTypes");
|
throw new Exception($"type={catalogBrandName} does not exist in catalogTypes");
|
||||||
}
|
}
|
||||||
|
|
||||||
string priceString = column[Array.IndexOf(headers, "price")].Trim('"').Trim();
|
string priceString = column[Array.IndexOf(headers, "price")].Trim('"').Trim();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user