mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
🐛 fix: ws echo #261
This commit is contained in:
parent
2f87e3818e
commit
8871331b7c
@ -27,6 +27,7 @@ class OB11WebsocketServer extends WebsocketServerBase {
|
||||
}
|
||||
try {
|
||||
let handleResult = await action.websocketHandle(params, echo)
|
||||
handleResult.echo = echo
|
||||
wsReply(wsClient, handleResult)
|
||||
} catch (e) {
|
||||
wsReply(wsClient, OB11Response.error(`api处理出错:${e.stack}`, 1200, echo))
|
||||
|
Loading…
x
Reference in New Issue
Block a user