mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 09:13:49 +08:00
refactor: 面板websocket
This commit is contained in:
@@ -80,6 +80,7 @@ func (t *Turn) Handle(context context.Context) error {
|
||||
default:
|
||||
_, data, err := t.ws.ReadMessage()
|
||||
if err != nil {
|
||||
// 通常是客户端关闭连接
|
||||
return fmt.Errorf("reading ws message err: %v", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user