summaryrefslogtreecommitdiff
path: root/script/brave
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-30 14:43:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-30 14:43:24 +0800
commit4e05002a2abf4947903ff047f100e921fee5799e (patch)
tree227110befecf7b5f073f578c17944a440c734ba2 /script/brave
parent744ce5d0a5a307ab7f100a2f76e934bbaf05a499 (diff)
downloadlua-language-server-4e05002a2abf4947903ff047f100e921fee5799e.zip
cleanup
Diffstat (limited to 'script/brave')
-rw-r--r--script/brave/work.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/brave/work.lua b/script/brave/work.lua
index 7af36fda..24debe83 100644
--- a/script/brave/work.lua
+++ b/script/brave/work.lua
@@ -8,7 +8,7 @@ local thread = require 'bee.thread'
brave.on('loadProto', function ()
local jsonrpc = require 'jsonrpc'
while true do
- local proto, err = jsonrpc.decode(io.read, log.error)
+ local proto, err = jsonrpc.decode(io.read)
--log.debug('loaded proto', proto.method)
if not proto then
brave.push('protoerror', err)