Archive
This commit is contained in:
Archive
ApiControllers
ApiLoggingMiddleware.csControllers
Models
OI.Metrology.Archive.csprojProgram.csRepositories
Services
Tests
@ -14,7 +14,7 @@ public class ErrorHandlerController : Controller
|
||||
|
||||
public IActionResult Index()
|
||||
{
|
||||
IExceptionHandlerFeature error = HttpContext.Features.Get<IExceptionHandlerFeature>();
|
||||
IExceptionHandlerFeature? error = HttpContext.Features.Get<IExceptionHandlerFeature>();
|
||||
if (error is null)
|
||||
{
|
||||
return Redirect("~/");
|
||||
|
Reference in New Issue
Block a user