summaryrefslogtreecommitdiff
path: root/src/lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lsp.lua')
-rw-r--r--src/lsp.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lsp.lua b/src/lsp.lua
index eeb4e560..cb1b9a26 100644
--- a/src/lsp.lua
+++ b/src/lsp.lua
@@ -74,6 +74,9 @@ function mt:_readAsContent(header)
},
}
end
+ if not response then
+ log.error(err or ('没有回应:' .. method))
+ end
end
function mt:setInput(input)