summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-14 11:31:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-14 11:31:55 +0800
commitb8892d691345cf25a80a5cd9fb33e1e94ad5be2b (patch)
tree1e55c8d230279edb3a4bf1744d6d9868f10329b3 /server/src
parent1b0a19c73d9685cac645f4466ea651376b389f87 (diff)
downloadlua-language-server-b8892d691345cf25a80a5cd9fb33e1e94ad5be2b.zip
加个日志
Diffstat (limited to 'server/src')
-rw-r--r--server/src/service.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 74143c83..d50f6c32 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -41,6 +41,9 @@ function mt:_callMethod(name, params)
if suc then
return res
else
+ log.dbueg(('Task [%s] failed, params: %s'):format(
+ name, table.dump(params)
+ ))
return nil, {
code = ErrorCodes.InternalError,
message = res,