actually error when we fail to setup lazy loading for a package
This commit is contained in:
parent
8e46eddecd
commit
1cd5f63f8e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue