From 07111b9b61e8477dc931f151fc9242a32b94eaf9 Mon Sep 17 00:00:00 2001 From: nikita Date: Thu, 26 Dec 2024 16:40:30 +0300 Subject: [PATCH] sec: do not return the error text to the user --- .../Core/Middleware/CustomExceptionHandlerMiddleware.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Endpoint/Configuration/Core/Middleware/CustomExceptionHandlerMiddleware.cs b/Endpoint/Configuration/Core/Middleware/CustomExceptionHandlerMiddleware.cs index ad6cca5..a82854f 100644 --- a/Endpoint/Configuration/Core/Middleware/CustomExceptionHandlerMiddleware.cs +++ b/Endpoint/Configuration/Core/Middleware/CustomExceptionHandlerMiddleware.cs @@ -37,7 +37,7 @@ public class CustomExceptionHandlerMiddleware(RequestDelegate next, ILogger() { { "traceId", traceId }