From 6647490678dc5898a1c7384379d375b2fcfdacc8 Mon Sep 17 00:00:00 2001 From: SanaeFox <36219542+Hoshinonyaruko@users.noreply.github.com> Date: Sun, 26 May 2024 17:47:20 +0800 Subject: [PATCH] Beta410 (#414) * beta399 * beta400 * beta401 * beta402 * beta403 * beta404 * beta405 * beta406 * beta407 * beta408 * beta409 * beta410 --- handlers/send_group_msg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/send_group_msg.go b/handlers/send_group_msg.go index ed826a72..f23084da 100644 --- a/handlers/send_group_msg.go +++ b/handlers/send_group_msg.go @@ -510,7 +510,7 @@ func HandleSendGroupMsg(client callapi.Client, api openapi.OpenAPI, apiv2 openap } } // 错误保存到本地 - if config.GetSaveError() { + if err != nil && config.GetSaveError() { mylog.ErrLogToFile("type", "PostGroupMessage") mylog.ErrInterfaceToFile("request", richMediaMessage) mylog.ErrLogToFile("error", err.Error())