Rethrow the exception to be caught in Program.cs (#344)
This commit is contained in:
committed by
Eric Fleming
parent
a382a0f947
commit
0a93e61f03
@@ -51,6 +51,7 @@ namespace Microsoft.eShopWeb.Infrastructure.Data
|
|||||||
log.LogError(ex.Message);
|
log.LogError(ex.Message);
|
||||||
await SeedAsync(catalogContext, loggerFactory, retryForAvailability);
|
await SeedAsync(catalogContext, loggerFactory, retryForAvailability);
|
||||||
}
|
}
|
||||||
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user