Fix: Ensure full traceback is processed by appending a newline

This commit is contained in:
Engineer Smith
2025-11-20 19:15:59 +00:00
committed by GitHub
parent fc42127510
commit 50aec7e10a
+4
View File
@@ -274,6 +274,10 @@ function love.errorhandler(msg)
table.insert(err, "\n")
if trace:sub(-1) ~= "\n" then
trace = trace .. "\n"
end
for l in trace:gmatch("(.-)\n") do
if not l:match("boot.lua") then
l = l:gsub("stack traceback:", "Traceback\n")