From 52da53a1db898a8d9a5f9bde3d5a3fb879830036 Mon Sep 17 00:00:00 2001 From: Sebastian Stehle Date: Thu, 30 Oct 2025 14:23:08 +0100 Subject: [PATCH] Fix logging. --- .../Actions/ElasticSearch/ElasticSearchFlowStep.cs | 3 +-- .../Actions/OpenSearch/OpenSearchFlowStep.cs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/backend/extensions/Squidex.Extensions/Actions/ElasticSearch/ElasticSearchFlowStep.cs b/backend/extensions/Squidex.Extensions/Actions/ElasticSearch/ElasticSearchFlowStep.cs index 4d4e97121..ad0e269f8 100644 --- a/backend/extensions/Squidex.Extensions/Actions/ElasticSearch/ElasticSearchFlowStep.cs +++ b/backend/extensions/Squidex.Extensions/Actions/ElasticSearch/ElasticSearchFlowStep.cs @@ -130,8 +130,7 @@ public sealed record ElasticSearchFlowStep : FlowStep, IConvertibleToAction throw response.OriginalException; } - var serializer = executionContext.Resolve(); - executionContext.Log(message, serializer.Serialize(response, true)); + executionContext.Log(message, response.Body); } var client = await Clients.GetClientAsync((Host, Username, Password)); diff --git a/backend/extensions/Squidex.Extensions/Actions/OpenSearch/OpenSearchFlowStep.cs b/backend/extensions/Squidex.Extensions/Actions/OpenSearch/OpenSearchFlowStep.cs index 16ff98fd9..3eddf5ad6 100644 --- a/backend/extensions/Squidex.Extensions/Actions/OpenSearch/OpenSearchFlowStep.cs +++ b/backend/extensions/Squidex.Extensions/Actions/OpenSearch/OpenSearchFlowStep.cs @@ -128,8 +128,7 @@ public sealed record OpenSearchFlowStep : FlowStep, IConvertibleToAction throw response.OriginalException; } - var serializer = executionContext.Resolve(); - executionContext.Log(message, serializer.Serialize(response, true)); + executionContext.Log(message, response.Body); } var client = await Clients.GetClientAsync((Host, Username, Password));