From 4c1f2ff0413e02821fe4b51de1ee7cd2e9587a21 Mon Sep 17 00:00:00 2001 From: David Kallesen Date: Thu, 25 Apr 2024 09:06:34 +0200 Subject: [PATCH] fix: Add missing char --- .../Middleware/GlobalErrorHandlingMiddleware.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Atc.Rest.MinimalApi/Middleware/GlobalErrorHandlingMiddleware.cs b/src/Atc.Rest.MinimalApi/Middleware/GlobalErrorHandlingMiddleware.cs index f9b03a9..2f3fe7f 100644 --- a/src/Atc.Rest.MinimalApi/Middleware/GlobalErrorHandlingMiddleware.cs +++ b/src/Atc.Rest.MinimalApi/Middleware/GlobalErrorHandlingMiddleware.cs @@ -150,7 +150,7 @@ private string CreateMessage( sb.Append(2, "detail: "); sb.AppendLine(UseSimpleMessage(exception) ? exception.GetMessage() - : exception.GetMessage(includeInnerMessage: true, includeExceptionName: true); + : exception.GetMessage(includeInnerMessage: true, includeExceptionName: true)); } var correlationId = context.GetCorrelationId();