fix Breaking change net 5 missing method
app.UseDatabaseErrorPage() https://github.com/dotnet/efcore/issues/22687
This commit is contained in:
parent
ff728ec096
commit
1857cc1c9e
@ -128,7 +128,6 @@ namespace Microsoft.eShopOnContainers.Services.Identity.API
|
|||||||
if (env.IsDevelopment())
|
if (env.IsDevelopment())
|
||||||
{
|
{
|
||||||
app.UseDeveloperExceptionPage();
|
app.UseDeveloperExceptionPage();
|
||||||
app.UseDatabaseErrorPage();
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user