[NuGet]:Hellang.Middleware.ProblemDetails

This is a Nuget that I use in almost every .NET Core project to get the error details ( 500)

Link: https://www.nuget.org/packages/Hellang.Middleware.ProblemDetails/

Site: https://github.com/khellang/Middleware

What it does:  Gives detailed error when encountering a 500 HTTP Code.

Usage:

services.AddProblemDetails(c=>
             {
                 c.IncludeExceptionDetails = (context, ex) => true;               
             });

app.UseProblemDetails();