Demote cache count mismatch from Error to Debug

When isQuestLogGood passes, the cache IS valid. The goodQuestsCount != numQuests
mismatch is a false positive on WotLK private servers where GetNumQuestLogEntries
returns a different numQuests than what the objectives loop validated.
Log at debug level so it doesn't spam player chat.
This commit is contained in:
Xurkon
2026-02-21 11:29:02 -06:00
parent 9890343616
commit ec013e2861
+4 -4
View File
@@ -122,10 +122,10 @@ local function OnQuestLogUpdate()
end end
if goodQuestsCount ~= numQuests then if goodQuestsCount ~= numQuests then
-- This shouldn't be possible -- This count mismatch can occur on WotLK private servers where GetNumQuestLogEntries
-- returns a different value than objectives-loop counted. The cache is valid because
Questie:Error("Game Cache has still a broken quest log. Good quest: "..goodQuestsCount.."/"..numQuests..". Please report this on Github or Discord!") -- Translations might not be available yet. -- isQuestLogGood already passed above. Log at debug level only.
-- TODO should we stop whole addon loading progress? Questie:Debug(Questie.DEBUG_INFO, "[QuestieValidateGameCache] Quest count mismatch (expected "..tostring(numQuests)..", validated "..tostring(goodQuestsCount).."). Cache is still valid.")
end end
DestroyEventFrame() DestroyEventFrame()