Use assert with pcall in Lua
snippet in lua

Use assert with pcall in Lua

user6054

local ret, data = assert(pcall(the_function))