From 61a11ea2233a291a58afd37d8968b2704e4ff5a8 Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Sat, 28 Dec 2024 06:47:21 +0300 Subject: [PATCH] fix: return exception message if controller exception --- .../Core/Middleware/CustomExceptionHandlerMiddleware.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Endpoint/Configuration/Core/Middleware/CustomExceptionHandlerMiddleware.cs b/Endpoint/Configuration/Core/Middleware/CustomExceptionHandlerMiddleware.cs index a82854f..f7871fe 100644 --- a/Endpoint/Configuration/Core/Middleware/CustomExceptionHandlerMiddleware.cs +++ b/Endpoint/Configuration/Core/Middleware/CustomExceptionHandlerMiddleware.cs @@ -65,6 +65,7 @@ public class CustomExceptionHandlerMiddleware(RequestDelegate next, ILogger