fix: change the link to the error type
This commit is contained in:
parent
233458ed89
commit
538f1d67c8
@ -34,7 +34,7 @@ public class CustomExceptionHandlerMiddleware(RequestDelegate next, ILogger<Cust
|
|||||||
|
|
||||||
var problemDetails = new ProblemDetails
|
var problemDetails = new ProblemDetails
|
||||||
{
|
{
|
||||||
Type = "https://tools.ietf.org/html/rfc9110#section-15.6",
|
Type = "https://tools.ietf.org/html/rfc9110#section-15.6.1",
|
||||||
Title = "An unexpected error occurred.",
|
Title = "An unexpected error occurred.",
|
||||||
Status = StatusCodes.Status500InternalServerError,
|
Status = StatusCodes.Status500InternalServerError,
|
||||||
Detail = exception.Message,
|
Detail = exception.Message,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user