Content deleted Content added
Petr Matas (talk | contribs) If we encapsulate main in pcall, we can keep error() |
Petr Matas (talk | contribs) pcall encapsulation is now provided by Module:Protect |
||
Line 12:
end
local function
local args, pargs = frame.args, ( frame:getParent() or {} ).args or {}
local makeTitle=args.makeTitle or pargs.makeTitle or ""
Line 44:
end
-- handle all errors in main
main = require('Module:Protect')(main)
local p = {}
|