Skip to content

Commit

Permalink
Add check to make sure that the error is not from gluatest, woopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
Srlion committed Oct 8, 2024
1 parent 51d0575 commit d91eb40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/gluatest/runner/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ local function findStackInfo( thread, caseFunc, reason )
local lastInfoLevel, lastInfo
for level = 0, 20 do
local info = debug.getinfo( thread, level, "nSl" )
if info and info.short_src ~= "[C]" then
if info and info.short_src ~= "[C]" and not string.match( info.short_src, "/lua/gluatest/" ) then
lastInfoLevel, lastInfo = level, info
break
end
Expand Down

0 comments on commit d91eb40

Please sign in to comment.