summaryrefslogtreecommitdiff
path: root/server/src/async
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-06-25 00:09:40 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-06-25 00:09:40 +0800
commite00a622f2a2c34df1f39762a16a3db17ed521d43 (patch)
tree60c106381d54f652fcbd34b0a3bd15f3aab0d983 /server/src/async
parent514161461839360e8e452c4657987134484f7e95 (diff)
downloadlua-language-server-e00a622f2a2c34df1f39762a16a3db17ed521d43.zip
整理代码
Diffstat (limited to 'server/src/async')
-rw-r--r--server/src/async/async.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/async/async.lua b/server/src/async/async.lua
index 3401c346..644a4061 100644
--- a/server/src/async/async.lua
+++ b/server/src/async/async.lua
@@ -36,7 +36,7 @@ local function task()
}, { __index = _ENV })
local f, err = load(dump, '=task', 't', env)
if not f then
- errlog:push(err)
+ errlog:push(err .. '\n' .. dump)
return
end
local result = f(arg)