From 62c82a80f4dc5fb70d1ea09c7b38c9ca3f41f6b5 Mon Sep 17 00:00:00 2001 From: zkhssb Date: Thu, 9 Mar 2023 23:36:19 +0800 Subject: [PATCH] =?UTF-8?q?Update:=20RestClientExec=E5=BA=8F=E5=88=97?= =?UTF-8?q?=E5=8C=96=E9=94=99=E8=AF=AF=E8=BE=93=E5=87=BA=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- QQChannelSharp/Extensions/RestClientExtension.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QQChannelSharp/Extensions/RestClientExtension.cs b/QQChannelSharp/Extensions/RestClientExtension.cs index 37390da..d40359f 100644 --- a/QQChannelSharp/Extensions/RestClientExtension.cs +++ b/QQChannelSharp/Extensions/RestClientExtension.cs @@ -1,4 +1,5 @@ using QQChannelSharp.Dto; +using QQChannelSharp.Logger; using QQChannelSharp.OpenApi; using RestSharp; using System.Text.Json; @@ -41,6 +42,7 @@ public static async Task> ExecAsync(this RestClient } catch (JsonException ex) { + Log.LogFatal("Json序列化错误", ex.ToString()); data = default; error = new() {