mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-16 06:52:27 +00:00
892b3a5272
It was previously only printed, but we do actually want to raise it as a full blown error so that things don't look OK when they've actually gone wrong. The second parameter to error, level, is set to 2 here so that the error message reflects the position of the try_include caller, rather than the try_include itself. Example: LUA ERROR: /boot/lua/loader.lua:46: /boot/lua/local.lua:1: attempt to call a nil value (global 'cxcint'). |
||
---|---|---|
.. | ||
cli.lua | ||
color.lua | ||
config.lua | ||
core.lua | ||
core.lua.8 | ||
drawer.lua | ||
hook.lua | ||
loader.lua | ||
Makefile | ||
menu.lua | ||
menu.lua.8 | ||
password.lua | ||
screen.lua |