perf: 减少预期外的error日志

This commit is contained in:
status102
2025-06-12 20:21:10 +08:00
parent 87ed43301c
commit 5b39e69317

View File

@@ -180,7 +180,7 @@ std::optional<int> 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;
}