remove a no-op regex munging on callstacks
Port of a fix "upstream": commit b38f172ceb
in template-live-editor.
This commit is contained in:
parent
aa9a0b0b15
commit
8b70258978
2
app.lua
2
app.lua
|
@ -43,7 +43,7 @@ function love.run()
|
|||
end
|
||||
|
||||
function handle_error(err)
|
||||
Error_message = debug.traceback('Error: ' .. tostring(err), --[[stack frame]]2):gsub('\n[^\n]+$', '')
|
||||
Error_message = debug.traceback('Error: ' .. tostring(err), --[[stack frame]]2)
|
||||
print(Error_message)
|
||||
if Current_app == 'run' then
|
||||
Settings.current_app = 'source'
|
||||
|
|
Loading…
Reference in New Issue