diff options
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 |