summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-22 16:15:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-22 16:15:23 +0800
commit1db62dca654636d141ba1c5667803b7327f0d59e (patch)
tree17be5ae48fa2d05ad9612d983c43209b8cb358ec
parent5b584a6f9607221db888ed5ccbb93809006f2746 (diff)
downloadlua-language-server-1db62dca654636d141ba1c5667803b7327f0d59e.zip
打个补丁
-rw-r--r--server/src/log.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/log.lua b/server/src/log.lua
index 5c04cdb9..043ec43a 100644
--- a/server/src/log.lua
+++ b/server/src/log.lua
@@ -82,7 +82,7 @@ function log.warn(...)
end
function log.error(...)
- push_log('error', ...)
+ return push_log('error', ...)
end
function log.init(root, path)