diff --git a/src/MaaCore/Vision/Battle/BattlefieldMatcher.cpp b/src/MaaCore/Vision/Battle/BattlefieldMatcher.cpp index 1563c0281a..f6347abebf 100644 --- a/src/MaaCore/Vision/Battle/BattlefieldMatcher.cpp +++ b/src/MaaCore/Vision/Battle/BattlefieldMatcher.cpp @@ -310,7 +310,12 @@ BattlefieldMatcher::MatchResult> BattlefieldMatcher::kills_a } if (kills_text.length() <= pos + 1) { - Log.error("kills_text length is too short"); + Log.error( + "kills_text length is too short: text='{}', length={}, pos={}", + kills_text, + kills_text.size(), + pos + ); return {}; }