remove extra frames from debug.get_traceback result
This commit is contained in:
parent
3146bf0133
commit
9dc09e920c
@ -230,7 +230,7 @@ end
|
|||||||
|
|
||||||
function debug.get_traceback()
|
function debug.get_traceback()
|
||||||
local frames = {}
|
local frames = {}
|
||||||
local n = 0
|
local n = 2
|
||||||
while true do
|
while true do
|
||||||
local info = debug.getinfo(n)
|
local info = debug.getinfo(n)
|
||||||
if info then
|
if info then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user