Commit 87e590ae authored by 赵文静's avatar 赵文静

增加日志

parent c48895ee
Pipeline #5406 passed with stage
in 0 seconds
......@@ -33,7 +33,7 @@ Content-Type: application/json
},
"nluRet": {
"asr_recongize": "",
"text": "暂停播放"
"text": "讲个笑话"
}
},
"version": "v0"
......
......@@ -44,6 +44,9 @@ func (s *SpeechNlpWs) SpeechWs(ip, deviceId string) (*websocket.Conn, error) {
}).Errorf("[SpeechWs] Connect error : %v", err.Error())
return nil, err
}
global.Logger.WithFields(logger.Fields{
"url": SpeechUrl,
}).Errorf("[SpeechWs] Connect")
return conn, nil
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment