We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f96930c commit a449b5fCopy full SHA for a449b5f
script/brave/work.lua
@@ -52,11 +52,19 @@ brave.on('loadProtoBySocket', function (param)
52
coroutine.resume(parser)
53
end
54
55
+ function lsclient:on_error(...)
56
+ log.error(...)
57
+ end
58
+
59
function lsmaster:on_data(data)
60
lsclient:write(data)
61
--net.update()
62
63
64
+ function lsmaster:on_error(...)
65
66
67
68
while true do
69
net.update(10)
70
script/proto/proto.lua
@@ -268,6 +268,10 @@ function m.listen(mode, socketPort)
268
return true
269
270
271
+ function server:on_error(...)
272
273
274
275
pub.task('loadProtoBySocket', {
276
port = socketPort,
277
unixPath = unixPath,
0 commit comments