Improve error and traceback reporting.
This commit is contained in:
@@ -174,7 +174,6 @@ local function fmterr(...)
|
|||||||
if r then
|
if r then
|
||||||
return s
|
return s
|
||||||
else
|
else
|
||||||
print( 'initial error -->'..tostring(s) )
|
|
||||||
s = string.gsub(s, "stdin:%d+:%s*", "")
|
s = string.gsub(s, "stdin:%d+:%s*", "")
|
||||||
return s
|
return s
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user