fix: suppress nonfatal errors by default

This commit is contained in:
Xurkon
2026-06-05 06:24:21 -05:00
parent a1c6a181fc
commit 1d58e3fc79
9 changed files with 83 additions and 13 deletions
+4 -4
View File
@@ -607,9 +607,9 @@ function _QuestieComms:BroadcastQuestLog(eventName, sendMode, targetPlayer) -- b
local sorted = {}
for questId, data in pairs(QuestLogCache.questLog_DO_NOT_MODIFY) do -- DO NOT MODIFY THE RETURNED TABLE
if (not QuestieDB.QuestPointers[questId]) then
if (not QuestieDB.QuestPointers[questId]) then
if not Questie._sessionWarnings[questId] then
if not Questie.IsSoD then Questie:Error(l10n("The quest %s is missing from Questie's database. Please report this on GitHub or Discord!", tostring(questId))) end
if not Questie.IsSoD then Questie:Debug(Questie.DEBUG_CRITICAL, l10n("The quest %s is missing from Questie's database. Please report this on GitHub or Discord!", tostring(questId))) end
Questie._sessionWarnings[questId] = true
end
else
@@ -730,9 +730,9 @@ function _QuestieComms:BroadcastQuestLogV2(eventName, sendMode, targetPlayer) --
local sorted = {}
for questId, data in pairs(QuestLogCache.questLog_DO_NOT_MODIFY) do -- DO NOT MODIFY THE RETURNED TABLE
if (not QuestieDB.QuestPointers[questId]) then
if (not QuestieDB.QuestPointers[questId]) then
if not Questie._sessionWarnings[questId] then
if not Questie.IsSoD then Questie:Error(l10n("The quest %s is missing from Questie's database. Please report this on GitHub or Discord!", tostring(questId))) end
if not Questie.IsSoD then Questie:Debug(Questie.DEBUG_CRITICAL, l10n("The quest %s is missing from Questie's database. Please report this on GitHub or Discord!", tostring(questId))) end
Questie._sessionWarnings[questId] = true
end
else