mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Merge pull request #2253 from EngineerSmith/errorhandler-bug
Minor Bug Fix: Ensure full traceback is processed by appending a newline
This commit is contained in:
@@ -274,7 +274,7 @@ function love.errorhandler(msg)
|
||||
|
||||
table.insert(err, "\n")
|
||||
|
||||
for l in trace:gmatch("(.-)\n") do
|
||||
for l in trace:gmatch("([^\n]+)") do
|
||||
if not l:match("boot.lua") then
|
||||
l = l:gsub("stack traceback:", "Traceback\n")
|
||||
table.insert(err, l)
|
||||
|
||||
Reference in New Issue
Block a user