mirror of https://github.com/milvus-io/milvus.git
[skip ci]Improve error message in mqclient (#10241)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>pull/10245/head
parent
a2b8add4e2
commit
cd6a4a6704
|
@ -28,7 +28,7 @@ type rmqClient struct {
|
|||
func NewRmqClient(opts rocksmq.ClientOptions) (*rmqClient, error) {
|
||||
c, err := rocksmq.NewClient(opts)
|
||||
if err != nil {
|
||||
log.Error("Set rmq client failed, error", zap.Error(err))
|
||||
log.Error("Failed to set rmq client: ", zap.Error(err))
|
||||
return nil, err
|
||||
}
|
||||
return &rmqClient{client: c}, nil
|
||||
|
|
Loading…
Reference in New Issue