indentation

This commit is contained in:
ell
2024-02-29 17:49:24 +00:00
parent 5e9de41986
commit c7e7565a3c
+3 -4
View File
@@ -13,10 +13,9 @@ end
-- custom crash message here to catch anything that might occur with modules
-- loading before we hit main.lua
local function error_printer(msg, layer)
print((debug.traceback("Error: " .. tostring(msg), 1+(layer or 1)):gsub("\n[^\n]+$", "")))
print((debug.traceback("Error: " .. tostring(msg), 1+(layer or 1)):gsub("\n[^\n]+$", "")))
end
function love.errorhandler(msg)
msg = tostring(msg)
error_printer(msg, 2)
return nil
msg = tostring(msg)
error_printer(msg, 2)
end