From 0a93e61f030cf9cfbcb680e2932c5128101790a4 Mon Sep 17 00:00:00 2001 From: David Henley Date: Tue, 7 Jan 2020 09:32:25 -0600 Subject: [PATCH] Rethrow the exception to be caught in Program.cs (#344) --- src/Infrastructure/Data/CatalogContextSeed.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Infrastructure/Data/CatalogContextSeed.cs b/src/Infrastructure/Data/CatalogContextSeed.cs index afa6349..1cfa043 100644 --- a/src/Infrastructure/Data/CatalogContextSeed.cs +++ b/src/Infrastructure/Data/CatalogContextSeed.cs @@ -51,6 +51,7 @@ namespace Microsoft.eShopWeb.Infrastructure.Data log.LogError(ex.Message); await SeedAsync(catalogContext, loggerFactory, retryForAvailability); } + throw; } }