8 lines
130 B
Plaintext
8 lines
130 B
Plaintext
|
call_protected = function(f, ...)
|
||
|
local args = {...}
|
||
|
xpcall(
|
||
|
function()
|
||
|
f(unpack(args))
|
||
|
end,
|
||
|
send_errors_to_output)
|
||
|
end
|