We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af52e68 commit 7b929a7Copy full SHA for 7b929a7
src/Umbraco.Cms.Api.Management/DependencyInjection/ApplicationBuilderExtensions.cs
@@ -43,7 +43,7 @@ internal static IApplicationBuilder UseProblemDetailsExceptionHandling(this IApp
43
44
var response = new ProblemDetails
45
{
46
- Title = exception.Message,
+ Title = isDebug ? exception.Message : "Server Error",
47
Detail = isDebug ? exception.StackTrace : null,
48
Status = statusCode ?? StatusCodes.Status500InternalServerError,
49
Instance = isDebug ? exception.GetType().Name : null,
0 commit comments