Skip to content

Commit 3a78efb

Browse files
committed
Trace fix
1 parent b16c521 commit 3a78efb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/util.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ end
2121

2222
-- Spit a warning without causing issues
2323
function utils.spit(msg)
24-
table.insert(errormsges, {msg, debug.traceback(nil, 2)})
24+
print(debug.traceback("", 2))
25+
table.insert(errormsges, {msg, debug.traceback("", 2):sub(2)})
2526
end
2627

2728
-- Assert spit

0 commit comments

Comments
 (0)