diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-23 01:46:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-23 01:46:32 +0800 |
commit | 68e39a2cb1511e4307603a0913950a2b1dde1f08 (patch) | |
tree | 0c710098dfb443bc603902c0b788b316f158de33 /script/proto | |
parent | a43d4d492265d07b12201699c7a1c41a2dc90b34 (diff) | |
download | lua-language-server-68e39a2cb1511e4307603a0913950a2b1dde1f08.zip |
should resume nil
Diffstat (limited to 'script/proto')
-rw-r--r-- | script/proto/proto.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua index bc3f41f4..5cc61b24 100644 --- a/script/proto/proto.lua +++ b/script/proto/proto.lua @@ -131,6 +131,7 @@ function m.doResponse(proto) m.waiting[id] = nil if proto.error then log.warn(('Response error [%d]: %s'):format(proto.error.code, proto.error.message)) + resume(nil) return end resume(proto.result) |