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
+6 -2
View File
@@ -134,10 +134,14 @@ function Questie:Print(...)
end
function Questie:Error(...)
Questie:Debug(Questie.DEBUG_CRITICAL, ...)
end
function Questie:Fatal(...)
if orig_Print then
orig_Print(Questie, "|cffff0000[ERROR]|r", ...)
orig_Print(Questie, "|cffff0000[FATAL]|r", ...)
else
print("|cffff0000[ERROR]|r", ...)
print("|cffff0000[FATAL]|r", ...)
end
end