From a3efa9c811158b2a64b4d5a0d5aeeb16156680fd Mon Sep 17 00:00:00 2001 From: Haiping Date: Thu, 31 Jul 2025 16:15:41 -0500 Subject: [PATCH] Update RoutingService.InvokeFunction.cs --- .../BotSharp.Core/Routing/RoutingService.InvokeFunction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/BotSharp.Core/Routing/RoutingService.InvokeFunction.cs b/src/Infrastructure/BotSharp.Core/Routing/RoutingService.InvokeFunction.cs index 1001dede..20c691f8 100644 --- a/src/Infrastructure/BotSharp.Core/Routing/RoutingService.InvokeFunction.cs +++ b/src/Infrastructure/BotSharp.Core/Routing/RoutingService.InvokeFunction.cs @@ -64,7 +64,7 @@ public partial class RoutingService } catch (JsonException ex) { - _logger.LogError($"The input does not contain any JSON tokens:\r\n{message.Content}"); + _logger.LogError($"The input does not contain any JSON tokens:\r\n{message.Content}\r\n{ex.Message}"); message.StopCompletion = true; message.Content = ex.Message; }