summaryrefslogtreecommitdiff
path: root/server/src/matcher/find_lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/matcher/find_lib.lua')
-rw-r--r--server/src/matcher/find_lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/matcher/find_lib.lua b/server/src/matcher/find_lib.lua
index 968f5cf2..92d90e50 100644
--- a/server/src/matcher/find_lib.lua
+++ b/server/src/matcher/find_lib.lua
@@ -9,7 +9,7 @@ local function getLibs()
for path in io.scan(ROOT / 'libs') do
local buf = io.load(path)
if buf then
- lni.classics(buf, path:string(), {Libs})
+ xpcall(lni.classics, log.error, buf, path:string(), {Libs})
end
end
return Libs