This commit is contained in:
2020-07-26 22:05:42 -04:00
parent f2ca3419b0
commit 85d99d2615
4 changed files with 10 additions and 5 deletions

View File

@@ -12,8 +12,10 @@ namespace PartSource.Api.Controllers
[Route("[controller]")]
public class ErrorController : ControllerBase
{
[HttpGet]
[Route("")]
[AllowAnonymous]
public ActionResult Get()
{
IExceptionHandlerPathFeature exceptionFeature = HttpContext.Features.Get<IExceptionHandlerPathFeature>();