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()
|
||||
local frames = {}
|
||||
local n = 0
|
||||
local n = 2
|
||||
while true do
|
||||
local info = debug.getinfo(n)
|
||||
if info then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user