diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-06-25 00:33:59 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-06-25 00:33:59 +0800 |
commit | eb0f00760e6ee12a492cfcbb7495821c6b67977f (patch) | |
tree | 8d086af7f2eff8e08a409dcc4915924629238982 /server/src/async/loadfile.lua | |
parent | e00a622f2a2c34df1f39762a16a3db17ed521d43 (diff) | |
download | lua-language-server-eb0f00760e6ee12a492cfcbb7495821c6b67977f.zip |
加点日志
Diffstat (limited to 'server/src/async/loadfile.lua')
-rw-r--r-- | server/src/async/loadfile.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/async/loadfile.lua b/server/src/async/loadfile.lua index 33851f58..b9d0f41c 100644 --- a/server/src/async/loadfile.lua +++ b/server/src/async/loadfile.lua @@ -6,6 +6,8 @@ while true do local buf = io.load(fs.path(filename)) if buf then OUT:push(filename, mode, buf) + else + ERR:push('Load failed:' .. filename) end GC:push(ID, collectgarbage 'count') end |