fix: suppress nonfatal errors by default
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user