actually error when we fail to setup lazy loading for a package

This commit is contained in:
2025-07-03 17:00:46 -04:00
parent 8e46eddecd
commit 1cd5f63f8e

View File

@ -308,7 +308,7 @@ function package:ensureadded(force)
if load_cond ~= true then
local ok, err = pcall(load_cond, l)
if not ok then
logger:log("lazy", "failed to register load conditions for '%s': %s",
logger:log("error", "failed to register lazy load conditions for '%s': %s",
self.name, err)
end
end