better organization of errors

[?]
Nov 16, 2022, 5:50 AM
BXXTVMBQJYLA43IHDYYUBKBVEQKKIDD5FSYMSYFXD5BCCLLPJZ3QC

Dependencies

Change contents

  • edit in main.lua at line 184
    [2.5459]
    [2.5459]
    print(msg)
    print(app.reset_terminal())
    end
    function app.send_run_time_error(msg)
    local f = io.open(love.filesystem.getUserDirectory()..'/_love_akkartik_app_driver_run_time_error', 'w')
    if f == nil then return end
    f:write(msg)
    f:close()
    print('=>'..app.color(0, --[[red]]1))
  • replacement in main.lua at line 402
    [2.11642][2.11642:11676]()
    app.send('ERROR '..stack_trace)
    [2.11642]
    [2.11676]
    app.send_run_time_error(stack_trace)