15 lines
363 B
Lua
15 lines
363 B
Lua
local _G = ShaguTweaks.GetGlobalEnv()
|
|
local T = ShaguTweaks.T
|
|
|
|
local module = ShaguTweaks:register({
|
|
title = T["Hide Errors"],
|
|
description = T["Hides and ignores all Lua errors produced by broken addons."],
|
|
expansions = { ["vanilla"] = true },
|
|
enabled = nil,
|
|
})
|
|
|
|
module.enable = function(self)
|
|
error = function() return end
|
|
seterrorhandler(error)
|
|
end
|