@@ -105,6 +105,7 @@ func sendRequestAndAwaitResponse(ws *websocket.Conn) ([]byte, error) {
c_log.GlobalLogger.Error("保持websocket连接活跃,等待心跳响应 - 成功。")
return response, nil
case <-time.After(30 * time.Second): // 设置超时时间
+ c_log.GlobalLogger.Error("保持websocket连接活跃,等待心跳响应 - 超时。")
return nil, fmt.Errorf("保持websocket连接活跃,等待心跳响应 - 超时。")
}