fix: change the link to the error type

This commit is contained in:
nikita 2024-12-26 16:39:29 +03:00
parent 233458ed89
commit 538f1d67c8

View File

@ -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,