mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
bugfix issue #494
This commit is contained in:
@@ -16,7 +16,10 @@ skynet.start(function()
|
||||
end)
|
||||
local libs = {}
|
||||
for k,v in ipairs(names) do
|
||||
libs[v] = require(v)
|
||||
local ok, m = pcall(require, v)
|
||||
if ok then
|
||||
libs[v] = m
|
||||
end
|
||||
end
|
||||
skynet.error(limit, err)
|
||||
skynet.exit()
|
||||
|
||||
Reference in New Issue
Block a user