From 073f7a7e60405922beae120dd11545ff3a56cf70 Mon Sep 17 00:00:00 2001 From: KurnakovMaksim Date: Sat, 19 Feb 2022 21:13:55 +0900 Subject: [PATCH] Fix catalogTypeName -> catalogBrandName in exception message --- .../Catalog/Catalog.API/Infrastructure/CatalogContextSeed.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/Catalog/Catalog.API/Infrastructure/CatalogContextSeed.cs b/src/Services/Catalog/Catalog.API/Infrastructure/CatalogContextSeed.cs index ba7589293..0028813e0 100644 --- a/src/Services/Catalog/Catalog.API/Infrastructure/CatalogContextSeed.cs +++ b/src/Services/Catalog/Catalog.API/Infrastructure/CatalogContextSeed.cs @@ -203,7 +203,7 @@ public class CatalogContextSeed string catalogBrandName = column[Array.IndexOf(headers, "catalogbrandname")].Trim('"').Trim(); 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();