actually error when we fail to setup lazy loading for a package
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user