fix(logging): update error detail message in GlobalExceptionHandler to provide a generic response

This commit is contained in:
Stevan Freeborn
2026-01-04 22:51:27 -06:00
parent 39aec466c2
commit bad3166faf
@@ -19,7 +19,7 @@ internal sealed class GlobalExceptionHandler(ILogger<GlobalExceptionHandler> log
{
Status = StatusCodes.Status500InternalServerError,
Title = "Server Error",
Detail = exception.Message,
Detail = "An unexpected error occurred. Please try again later."
};
httpContext.Response.StatusCode = problemDetails.Status.Value;