1
0

Standardized logging
Some checks failed
LÖVE/Lua Library / Lua-Testing (push) Failing after 7s
LÖVE/Lua Library / Static-Analysis (push) Successful in 4s

This commit is contained in:
Jon Michael Aanes 2025-04-19 23:35:43 +02:00
parent 2eb3878fa7
commit a390a95854

View File

@ -15,6 +15,8 @@
local _VERSION = '0.1.5'
local logger = require 'log' 'spritesheet'
local error_original = error
local error, error_internal do
error, error_internal = error_original, error_original
@ -342,7 +344,7 @@ local function load_quad_data (filename)
end
return data
end
print(error_msg)
logger:debug('Failed to load %s: %s', filetype, error_msg)
end
-- Else, give up.