From 5b39e693171c01fcf555ae2d771ae0edb904b751 Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Thu, 12 Jun 2025 20:21:10 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=87=8F=E5=B0=91=E9=A2=84=E6=9C=9F?= =?UTF-8?q?=E5=A4=96=E7=9A=84error=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaCore/Task/Fight/FightTimesTaskPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaCore/Task/Fight/FightTimesTaskPlugin.cpp b/src/MaaCore/Task/Fight/FightTimesTaskPlugin.cpp index d8ba62b6e7..a6126ea095 100644 --- a/src/MaaCore/Task/Fight/FightTimesTaskPlugin.cpp +++ b/src/MaaCore/Task/Fight/FightTimesTaskPlugin.cpp @@ -180,7 +180,7 @@ std::optional asst::FightTimesTaskPlugin::select_series(bool available_only } } close_series_list(); - Log.error(__FUNCTION__, "no available series found"); + (available_only ? LogInfo : LogError) << __FUNCTION__ << "no available series found"; return std::nullopt; }