mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
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 | ||