Skip to content

Commit ef4c9b8

Browse files
authored
Removed ExceptionHandleMiddleware registration (#33940)
* Removed ExceptionHandleMiddleware registration * Update Startup.cs
1 parent cee22ed commit ef4c9b8

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/Startup.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
7373
}
7474
else
7575
{
76-
app.UseExceptionHandler("/Error");
7776
#if (RequiresHttps)
7877
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
7978
app.UseHsts();

src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/Startup.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
7373
}
7474
else
7575
{
76-
app.UseExceptionHandler("/Error");
7776
#if (RequiresHttps)
7877
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
7978
app.UseHsts();

0 commit comments

Comments
 (0)