Skip to content

Commit

Permalink
indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ellraiser committed Feb 29, 2024
1 parent a8206d3 commit ccfe111
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions conf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ccfe111

Please sign in to comment.