From 600a148113792cba08494207bbaf210700edf2ea Mon Sep 17 00:00:00 2001 From: Jordan Brown Date: Thu, 30 Apr 2020 14:49:41 -0400 Subject: [PATCH] Remove useless developer exception page --- src/Tgstation.Server.Host/Core/Application.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Tgstation.Server.Host/Core/Application.cs b/src/Tgstation.Server.Host/Core/Application.cs index a24443a2e1..ce953c1337 100644 --- a/src/Tgstation.Server.Host/Core/Application.cs +++ b/src/Tgstation.Server.Host/Core/Application.cs @@ -364,10 +364,6 @@ namespace Tgstation.Server.Host.Core await tcs.Task.ConfigureAwait(false); }); - // should anything after this throw an exception, catch it and display a detailed html page - if (hostingEnvironment.IsDevelopment()) - applicationBuilder.UseDeveloperExceptionPage(); // it is not worth it to limit this, you should only ever get it if you're an authorized user - // suppress OperationCancelledExceptions, they are just aborted HTTP requests applicationBuilder.UseCancelledRequestSuppression();