can pcall return value of called function instead of boolean result true/false?
tostring selects only first parameter.
a,b = pcall(f)
print(b) --> 'some text'
function f()
return 'some text'
end
local status, res = pcall(f)
if pcall() succeeded, status is true and res is the return value of f(). if pcall() failed, status is false and res is the error message.