summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-13 15:05:52 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-13 15:05:52 +0800
commit6bfa937b6fc8bdd00ba009e4077107e6c76ce025 (patch)
tree268fb647e949c6ac2798722803c3a250119c928b /server
parent6300e191ee1a36b79e70bf572614d4638df1c4c8 (diff)
downloadlua-language-server-6bfa937b6fc8bdd00ba009e4077107e6c76ce025.zip
使用error登记
Diffstat (limited to 'server')
-rw-r--r--server/src/service.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 4a52b5d3..80b6bcb6 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -52,7 +52,7 @@ function mt:_callMethod(name, params)
log.debug(('Task [%s] failed, params: %s'):format(
name, dump
))
- log.debug(res)
+ log.error(res)
return nil, {
code = ErrorCodes.InternalError,
message = r .. '\n' .. res,