From bad3166faf3acfdccc564c6e46388c06e2ff6dd4 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Sun, 4 Jan 2026 22:51:27 -0600 Subject: [PATCH] fix(logging): update error detail message in GlobalExceptionHandler to provide a generic response --- src/GroundsForSupport.Server/Logging/GlobalExceptionHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GroundsForSupport.Server/Logging/GlobalExceptionHandler.cs b/src/GroundsForSupport.Server/Logging/GlobalExceptionHandler.cs index 9315759..cd17070 100644 --- a/src/GroundsForSupport.Server/Logging/GlobalExceptionHandler.cs +++ b/src/GroundsForSupport.Server/Logging/GlobalExceptionHandler.cs @@ -19,7 +19,7 @@ internal sealed class GlobalExceptionHandler(ILogger 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;